/* =========================
   VARIABLES
========================= */

:root {
    --gold: #B8973A;
    --gold-light: #D4AF5A;

    --dark: #0F1017;
    --dark2: #1A1C27;
    --dark3: #252837;

    --text: #E8E6E0;
    --text-muted: #9A9585;
    --white: #FAFAF8;
}

/* =========================
   RESET GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY BASE
========================= */

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* =========================
   TIPOGRAFÍAS BASE
========================= */

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin: 0;
}

p {
    margin: 0;
}

/* =========================
   LINKS BASE
========================= */

a {
    text-decoration: none;
    color: inherit;
}

/* animaciones.css */


/* EFECTOS */

.reveal {
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
}

/* Fade sutil */
.reveal.fade {
    transform: translateY(20px);
}

.reveal.fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide desde abajo muy suave */

.reveal.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide desde izquierda */
.reveal.slide-left {
    transform: translateX(-40px);
}

.reveal.slide-left.active {
    transform: translateX(0);
}

/* Slide desde derecha */
.reveal.slide-right {
    transform: translateX(40px);
}

.reveal.slide-right.active {
    transform: translateX(0);
}

/* Slide desde abajo */
.reveal.slide-up {
    transform: translateY(40px);
}

.reveal.slide-up.active {
    transform: translateY(0);
}

/* Zoom sutil */
.reveal.zoom {
    transform: scale(0.97);
}

.reveal.zoom.active {
    transform: scale(1);
}

/* Variaciones de velocidad */
.reveal.fast {
    transition-duration: 0.6s;
}

.reveal.slow {
    transition-duration: 1.6s;
}

/* Aparición elegante tipo cortina */
.reveal.blur {
    filter: blur(10px);
}

.reveal.blur.active {
    opacity: 1;
    filter: blur(0);
}


@media (max-width: 992px) {

    .reveal.slide-left,
    .reveal.slide-right {
        transform: none !important;
    }

    .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

}

.header {
    background: rgba(15, 16, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 151, 58, 0.15);
    z-index: 999;
}

/* NAVBAR BASE */
.navbar {
    padding: 18px 0;
}

/* LOGO */
.navbar-brand .logo {
    max-height: 42px;
    width: auto;
    display: block;
}

/* LINKS */
.navbar-nav {
    gap: 28px;
}

.navbar-nav .nav-link {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color 0.2s ease;
    padding: 0;
}

.navbar-nav .nav-link:hover {
    color: var(--white);
}

/* ACTIVE STATE (scroll / section highlight futuro) */
.navbar-nav .nav-link.active {
    color: var(--white);
}

/* TOGGLER */
.navbar-toggler {
    border: 0;
    color: var(--white);
    font-size: 18px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {

    .navbar-nav {
        gap: 16px;
        padding-top: 20px;
    }

    .navbar-collapse {
        background: rgba(15, 16, 23, 0.98);
        backdrop-filter: blur(12px);
        padding: 20px;
        border-top: 1px solid rgba(184, 151, 58, 0.1);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 48px 78px;
    position: relative;
    overflow: hidden;
    background-image: url(../../assets/img/bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

/* BACKGROUND EFECTOS */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(180deg,
            rgba(15, 16, 23, .70) 0%,
            rgba(15, 16, 23, .55) 35%,
            rgba(15, 16, 23, .70) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        radial-gradient(circle at 50% 30%,
            rgba(184, 151, 58, .18),
            transparent 60%);
}

/* ELEMENTOS ENCIMA DEL BG */
.hero>*:not(.hero-bg) {
    position: relative;
    z-index: 1;
}

/* LINEA VERTICAL */
.hero-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    margin: 0 auto 32px;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;

    background: linear-gradient(transparent,
            var(--dark));

    z-index: 1;
}

/* EYEBROW */
.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

/* TITULO PRINCIPAL */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

/* SUBTITULO */
.hero-sub {
    font-size: 16px;
    color: var(--white);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 300;
    line-height: 1.8;
}

/* CTA */
.hero-cta {
    display: inline-block;
    padding: 14px 36px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--gold);
    color: var(--dark);
    border: 1px solid var(--gold);
}

.hero-cta:hover {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 64px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(184, 151, 58, 0.2);
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--gold);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }
}

/* =========================
   EL MERCADO HOY
========================= */

#mercado {
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    background:
        radial-gradient(circle at top right,
            rgba(184, 151, 58, .05),
            transparent 35%),
        var(--dark);
    background-image: url(../../assets/img/recurso2.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

.problema-section {
    padding: 80px 15px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(to right,
            var(--gold),
            transparent);
    margin: 42px 0;
}

.problema-section p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 620px;
    line-height: 1.9;
}

/* GRID CARDS */
.problema-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.prob-card {
    counter-increment: problema;
}

.problema-grid {
    counter-reset: problema;
}

.prob-card::marker {
    display: none;
}

.prob-card span.numero {
    display: none;
}

/* CARD */
.prob-card {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, .03),
            rgba(255, 255, 255, .01));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    padding: 38px 20px;
    overflow: hidden;
    transition: .35s;
}

.prob-card::before {

    content: "";
    position: absolute;
    left: 38px;
    top: 0;
    width: 70px;
    height: 2px;
    background: var(--gold);
    opacity: .7;
}

.prob-card::after {

    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -120px;
    top: -120px;
    background: radial-gradient(rgba(184, 151, 58, .12),
            transparent 70%);

    opacity: 0;
    transition: .35s;
}

.prob-card:hover::after {
    opacity: 1;
}

.prob-card h4 {
    color: var(--white);
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 18px;
    font-weight: 500;
}

.prob-card p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
}


/* HOVER SUTIL */
.prob-card:hover {

    transform: translateY(-8px);
    border-color: rgba(184, 151, 58, .35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .35);
}


.numeros-section {
    position: relative;
    overflow: hidden;
    padding: 60px 20px;

    background:
        radial-gradient(circle at left center,
            rgba(184, 151, 58, .05),
            transparent 35%),
        radial-gradient(circle at right center,
            rgba(184, 151, 58, .05),
            transparent 35%),
        var(--dark2);
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    align-items: center;
}

.numeros-grid>div {
    position: relative;
    padding: 25px 15px;
}

.numeros-grid>div::before {

    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 28px;
}

.numero-val {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 72px;
    text-align: center;
    font-weight: 500;
    line-height: 1;
}

.numero-label {
    color: var(--text-muted);
    text-transform: none;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
    max-width: 220px;
    margin: 18px auto 0;
}

.numeros-grid>div {
    transition: .35s;
}

.numeros-grid>div:hover {
    transform: translateY(-6px);
}

.numeros-grid>div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle,
            rgba(184, 151, 58, .08),
            transparent 70%);

    opacity: 0;
    transition: .35s;
}

.numeros-grid>div:hover::after {
    opacity: 1;
}

.numero-label::before {
    content: "";
    display: block;
    width: 35px;
    height: 1px;
    background: rgba(184, 151, 58, .35);
    margin: 0 auto 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .problema-grid {
        grid-template-columns: 1fr;
    }

    .problema-section {
        padding: 60px 20px;
    }

    .numeros-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .numero-label {
        text-align: center;
    }
    .numero-val {
        font-size: 45px;
    }

}

#servicios {
    padding: 80px 15px;
    margin: 0 auto;
    background-image: url(../../assets/img/recurso1.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

.servicios-wrap {
    background: none;
    border: none;
    padding: 0;
    margin-top: 70px;
}

.servicios-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.serv-item {
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, .03),
            rgba(255, 255, 255, .01));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
    padding: 40px;
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.serv-item:hover {
    transform: translateY(-3px);
    border-top-color: rgba(184, 151, 58, 0.4);
}

.serv-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--dark);
    border: 1px solid rgba(184, 151, 58, .25);
    background: var(--gold);
    margin-bottom: 28px;
}

.serv-title {
    min-height: 60px;
    color: var(--white);
    min-height: 56px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
}

.serv-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicios-wrap {
        padding: 32px 20px;
    }
}

#nosotros {
    padding: 80px 15px;
    margin: 0 auto;
}

.ventajas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
     gap:30px;
    margin-top:70px;
}

.ventaja {
    background:rgba(255,255,255,.02);
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:30px;
    gap:22px;
    transition:.35s;
    display: flex;
}

.ventaja-check {
   width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(184, 151, 58, .25);
    background: rgba(184, 151, 58, .05);
    color: var(--gold);
    font-size: 18px;
    padding: 9px 18px;
}

.ventaja-text h4 {
    font-size:20px;
    margin-bottom:12px;
    line-height:1.35;
    color: var(--white);
}

.ventaja-text p {
    font-size:15px;
    line-height:1.9;
    color: var(--text-muted);
}

/* HOVER SUAVE OPCIONAL */
.ventaja {
    transition: transform 0.25s ease;
}

.ventaja:hover{
    transform:translateY(-6px);
    border-color:rgba(184,151,58,.25);
    box-shadow: 0 20px 50px rgba(0,0,0,.30);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ventajas-list {
        grid-template-columns: 1fr;
    }
    .ventaja {
        flex-direction: column;
    }
}

#proceso {
    padding: 80px 15px;
    margin: 0 auto;
    background-image: url(../../assets/img/logistica.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

.proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    position: relative;
}

.proceso-steps::before{
    content:"";
    position:absolute;
    top:34px;
    left:12%;
    right:12%;
    height:2px;

    background:linear-gradient(
        to right,
        transparent,
        rgba(184,151,58,.35),
        transparent
    );
}

/* línea conectora */
.proceso-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(184, 151, 58, 0.3);
}

.step {
    text-align: center;
    padding:0 20px;
    position: relative;
}

.step-num {
    width:72px;
    height:72px;
    border:1px solid rgba(184,151,58,.30);
     border-radius:50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
    font-size:30px;
    color: var(--dark2);
    background:var(--gold);
    position: relative;
    z-index: 1;
}

.step-num::after{
    content:"";
    position:absolute;
    inset:-8px;
    border-radius:50%;
    border:1px solid rgba(184,151,58,.10);
}

.step-title {
    font-size:18px;
    font-weight:400;
    color: var(--white);
    margin-bottom:14px;
    letter-spacing: 0.05rem;
}

.step-desc {    
    color: #c2beb2;
    font-size:14px;
    line-height:1.7;
}

/* HOVER SUTIL */
.step {
    transition: transform 0.25s ease;
}

.step:hover {
    transform: translateY(-4px);
}

.step:hover .step-num{
    background:var(--gold-light);
    transform:scale(1.08);
    transition:.35s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .proceso-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .proceso-steps::before {
        display: none;
    }
}

#planes {
    padding: 80px 15px;
    margin: 0 auto;
    background-image: url(../../assets/img/recurso3.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

#planes p.section-eyebrow {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
    margin-top:70px;
}

/* CARD BASE */
.plan {
    background: var(--dark2);
    padding: 50px 32px;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.06);
}

.plan:hover {
    transform:translateY(-8px);
    border-color:rgba(184,151,58,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.30);
}

/* PLAN DESTACADO */
.plan.featured {
    background: var(--dark3);
    border: 1px solid var(--gold);
    z-index: 1;
    transform:none;
    border:1px solid rgba(184,151,58,.45);
    box-shadow:
    0 0 0 1px rgba(184,151,58,.15),
    0 25px 70px rgba(0,0,0,.35);
}

.plan.featured:hover {
    transform: scale(1.04);
    border-color: rgba(184, 151, 58, .6);
    box-shadow:
        0 0 0 1px rgba(184, 151, 58, .18),
        0 15px 40px rgba(0, 0, 0, .35),
        0 0 30px rgba(184, 151, 58, .18),
        0 0 60px rgba(184, 151, 58, .08);
}

/* BADGE */
.plan-badge {
    position: absolute;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    top:16px;
    left:24px;
    transform:none;
    border-radius:999px;
    padding:6px 14px;
    font-size:10px;
}

/* TITULOS */
.plan-name {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size:30px;
    margin-bottom:12px;
}

.plan-price {
    font-size: 15px;
    color: var(--gold);
    margin-bottom:28px;
    padding-bottom:24px;
    border-bottom:1px solid rgba(184,151,58,.15);
    font-weight: 500;
}

/* LISTA */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    font-size: 14px;
    color: white;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 300;
    letter-spacing: 0.02rem;
}

.plan-features li::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--gold);
    margin-top:9px;
}

/* TEXTO FINAL */
#planes p {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .planes-grid {
        grid-template-columns: 1fr;
    }

    .plan.featured {
        transform: none;
    }
}

#nosotros {
    padding: 80px 15px;
    margin: 0 auto;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* IMAGEN */
.about-img-wrap {
    position: relative;
}

.about-img-frame {
    aspect-ratio: 1 / 1;
    background: transparent;
    border: none;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* QUOTE */
.about-quote {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 24px;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

/* TEXTOS */
.about-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 14px;
}

/* FIRMA */
.about-signature {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--gold);
    margin-top: 28px;
}

.about-role {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-frame {
        width: 100%;
    }
}

#logros {
    background: var(--dark2);
    border-top: 1px solid rgba(184, 151, 58, 0.2);
    border-bottom: 1px solid rgba(184, 151, 58, 0.2);
    padding: 80px 15px;
}

#logros>div {
    margin: 0 auto;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 56px;
}

.kpi-item {
    background: var(--dark3);
    padding: 28px 24px;
    text-align: center;
}

.kpi-value {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: var(--gold);
    line-height: 1;
}

.kpi-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* CARD BASE */
.case-card {
    background: var(--dark);
    border: 1px solid rgba(184, 151, 58, 0.15);
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 151, 58, 0.3);
}

/* HEADER CARD */
.case-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.case-tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.case-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 4px;
}

.case-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.case-metric {
    text-align: right;
}

.case-metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold);
}

.case-metric-label {
    font-size: 11px;
    color: var(--text-muted);
}

.chart-legend {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

.legend-line {
    display: inline-block;
    width: 12px;
    height: 3px;
    margin-right: 5px;
    vertical-align: middle;
}

.legend-before {
    background: rgba(184, 151, 58, 0.4);
}

.legend-after {
    background: var(--gold);
}

.case-metrics {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 151, 58, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.case-metric-box {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.case-metric-sub {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.results-quote {
    margin-top: 48px;
    padding: 40px;
    background: var(--dark);
    border-left: 2px solid var(--gold);
    border-right: 1px solid rgba(184, 151, 58, 0.1);
    border-top: 1px solid rgba(184, 151, 58, 0.1);
    border-bottom: 1px solid rgba(184, 151, 58, 0.1);
}

.results-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 12px;
}

.results-quote span {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.casos-reales {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 680px;
    line-height: 1.9;
    margin-bottom: 56px;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    overflow: hidden;
}

.chart-card {
    background: var(--dark);
    border: 1px solid rgba(184, 151, 58, 0.15);
    padding: 32px;
}

.chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.chart-eyebrow {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.chart-title {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 4px;
}

.chart-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.chart-metric {
    text-align: right;
}

.chart-metric .chart-big {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold);
}

.chart-metric .chart-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.chart-legend {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 11px;
}

.legend.before {
    display: inline-block;
    width: 12px;
    height: 3px;
    background: rgba(184, 151, 58, 0.4);
    margin-right: 5px;
    vertical-align: middle;
}

.legend.after {
    display: inline-block;
    width: 12px;
    height: 3px;
    background: var(--gold);
    margin-right: 5px;
    vertical-align: middle;
}

.chart-stats {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(184, 151, 58, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    text-align: center;
}

.chart-stats .stat {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.chart-stats .label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.chart-stats .stat.highlight {
    color: var(--gold);
}

.logros-quote {
    margin-top: 48px;
    padding: 40px;
    background: var(--dark);
    border-left: 2px solid var(--gold);
    border-right: 1px solid rgba(184, 151, 58, 0.1);
    border-top: 1px solid rgba(184, 151, 58, 0.1);
    border-bottom: 1px solid rgba(184, 151, 58, 0.1);
}

.logros-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 12px;
}

.logros-quote span {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-final {
    text-align: center;
    padding: 120px 48px;
    background: radial-gradient(ellipse at center, rgba(184, 151, 58, 0.06) 0%, transparent 70%);
}

.cta-final h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 40px;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline {
    padding: 16px 40px;
    border: 1px solid rgba(184, 151, 58, 0.4);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-final p i {
    color: var(--gold);
}

/* =========================
   CONTACTO
========================= */

.contact-section {
    padding: 120px 20px;
    position: relative;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 70px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* =========================
   FORMULARIO
========================= */

.contact-form {
    width: 100%;
}

.contact-form .row {
    row-gap: 34px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: transparent!important;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    padding: 0 0 14px;
    color: var(--white);
    font-size: 15px;
    transition: .35s;
    box-shadow: none;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--gold);
    box-shadow: none;
    background: transparent!important;
    color: var(--gold-light)!important;
}

.form-control::placeholder {
    color: var(--gold-light)!important;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    padding-top: 4px;
    color: var(--gold-light)!important;
    background: transparent!important;
}

textarea.form-control:focus {
    color: var(--gold-light)!important;
    background: transparent!important;
}

/* =========================
   BOTON
========================= */

.btn-send {
    margin-top: 24px;
    padding: 16px 42px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    transition: .35s;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184,151,58,.25);
}

/* =========================
   TEXTO CAMPOS
========================= */

.form-required {
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.help-block {
    color: #d86c6c;
    font-size: 12px;
    margin-top: 8px;
}

.messages {
    margin-top: 25px;
}

/* =========================
   COLUMNA DERECHA
========================= */

#contacto {
    background-image: url(../../assets/img/contacto.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

.contact-info {
    padding-left: 40px;
    border-left: 1px solid rgba(184,151,58,.12);
}

.contact-block {
    margin-bottom: 45px;
}

.contact-title {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50px;
    width: 46px;
    height: 46px;
    padding: 9px 13px;
}

.contact-block a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.7;
    transition: .3s;
}

.contact-block a:hover {
    color: var(--gold);
}

.contact-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:991px){

    .contact-section{
        padding:100px 20px;
    }

    .contact-wrapper{
        grid-template-columns:1fr;
        gap:70px;
    }

    .contact-info{
        padding-left:0;
        border-left:none;
        border-top:1px solid rgba(184,151,58,.12);
        padding-top:50px;
    }

}
/* 
footer {
    padding: 80px 15px;
    border-top: 1px solid rgba(184, 151, 58, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 12px;
    color: var(--text-muted);
}
 */

 /*=========================
    FOOTER
=========================*/

.footer{

    padding:70px 20px 25px;
    background:var(--dark);
    border-top:1px solid rgba(184,151,58,.12);    
}

.footer-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:50px;

    padding-bottom:45px;

    margin-bottom:25px;

    border-bottom:1px solid rgba(255,255,255,.06);
}

.footer-logo img{

    max-width:280px;
}

.footer-contact{

    display:flex;

    flex-wrap:wrap;

    justify-content:flex-end;

    gap:28px;
}

.footer-contact a,
.footer-contact span{

    color:var(--text-muted);

    text-decoration:none;

    font-size:14px;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.3s;
}

.footer-contact a:hover{

    color:var(--gold);
}

.footer-contact i{

    color:var(--gold);

    width:18px;

    text-align:center;

    font-size:15px;
}

/*=========================
    FOOTER BOTTOM
=========================*/

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;
}

.footer-copy{

    font-size:10px;

    color:var(--text-muted);

    letter-spacing:.08em;

    text-transform:uppercase;
}

.footer-designed{

    font-size:11px;

    color:var(--text-muted);
}

.footer-designed a{

    color:var(--white);

    text-decoration:none;

    transition:.3s;
}

.footer-designed a:hover{

    color:var(--gold);
}

/*=========================
    RESPONSIVE
=========================*/

@media(max-width:991px){

    .footer-top{

        flex-direction:column;

        text-align:center;
    }

    .footer-contact{

        justify-content:center;

        flex-direction:column;

        gap:18px;
    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;
    }

}


/* RESPONSIVE */
@media (max-width: 768px) {

    .charts-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .chart-header {
        flex-direction: column;
    }

    .chart-stats {
        grid-template-columns: repeat(1, 1fr);
    }

    .chart-wrap {
        width: 234px;
    }

    .chart-header,
    .chart-metric {
        text-align: center !important;
    }

    .chart-header>div {
        width: 100% !important;
    }

    .cta-buttons a {
        width: 100% !important;
    }


}


.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--dark2);
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 99;
  transition: all 0.3s;
  animation: pulse 2.5s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background: var(--gold-light);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.alert-success {
  color: #fff;
  background-color: transparent;
  border-color: #f1f0f5;
  }
.alert-dismissable .close, .alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0px;
    color: white;
    font-weight: 300;
    background: black;
    border: 0;
}
  .alert {
    position: relative;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 0px solid transparent;
    border-radius: 0px;
}