:root {
    --teal: #40C1AC;
    --navy: #004F71;
    --dark: #3B3B3B;
    --steel: #51A4AF;
    --white: #ffffff;
    --cream: #F5F2ED;
    --light: #EDF4F6;
    --muted: #7A8F95;
    --border: #DDE8EC;
    --gold: #C9A84C;
    --gold-lt: #c9a84c26;
    --grad: linear-gradient(135deg, #004F71 0%, #40C1AC 100%);
    --grad-gold: linear-gradient(135deg, #C9A84C 0%, #e8c96a 100%);
    --navy-deep: #001e2e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ══ NAV ══ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .4s, box-shadow .4s;
}

#nav.solid {
    background: #001e2e5a;
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 28px rgba(0, 0, 0, .1);
}

.logo-light {
    width: 120px;
}

.logo-dark {
    width: 0px;
}

.logo-dark.solid {
    width: 32px;
    margin-right: 88px;
    display: static;
}

.logo-light.solid {
    width: 0px;
    display: none;
}

.hidden {
    display: none;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo svg {
    height: 34px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s;
    letter-spacing: .2px;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-pill {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: 4px 6px 4px 14px;
    color: rgba(255, 255, 255, .75);
}

.nav-pill:hover {
    color: var(--cream);
    border-color: rgba(255, 255, 255, .45);
    background-color: rgba(255, 255, 255, .25);
}

.nav-pill span {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
}

.nav-pill span svg:hover {
    stroke: var(--cream);
}

/* ══ BUTTONS ══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 2rem;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .2px;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 20px rgba(64, 193, 172, .4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(64, 193, 172, .5);
}

.btn-gold {
    background: var(--grad-gold);
    color: #42381e;
    box-shadow: 0 4px 20px rgba(201, 168, 76, .4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(201, 168, 76, .5);
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
}

.btn-outline-teal {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
}

.btn-outline-teal:hover {
    background: var(--teal);
    color: #fff;
}

.btn-wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
}

.btn-wa:hover {
    transform: translateY(-2px);
    background: #1ebe5a;
}

.btn-lg {
    border-radius: 2rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 2rem;
}

/* ══ HERO — DUAL SPLIT ══ */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;

    position: relative;
    overflow: hidden;
}

.split-hero {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.hero-panel {
    flex: 1 1 50%;
    transition: flex-basis 0.35s ease, transform 0.35s ease, filter 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-left {
    background: #004f71;
    color: white;
}

.hero-right {
    background: #40c1ac;
    color: white;
}

.hero-content {
    padding: 12px;
    text-align: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.hero-divider {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 14px;
    height: 100%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    cursor: pointer;
}

/* Hover */
.split-hero.hover-left .hero-left {
    flex-basis: 60%;
}

.split-hero.hover-left .hero-right {
    flex-basis: 40%;
}

.split-hero.hover-right .hero-left {
    flex-basis: 40%;
}

.split-hero.hover-right .hero-right {
    flex-basis: 60%;
}

/* Selección fija por clic */
.split-hero.selected-left .hero-left {
    flex-basis: 92%;
}

.split-hero.selected-left .hero-right {
    flex-basis: 8%;
}

.split-hero.selected-right .hero-left {
    flex-basis: 8%;
}

.split-hero.selected-right .hero-right {
    flex-basis: 92%;
}

/* opcional: atenuar lado no elegido */
.split-hero.selected-left .hero-right,
.split-hero.selected-right .hero-left {
    filter: brightness(0.25);
}




.hero-half {

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 70px 6% 80px;
    overflow: hidden;
    min-height: 100%;
    width: 100%;
}

.hero-half-bg {
    position: absolute;
    inset: 0;
}

.hero-half-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-half-left .hero-half-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 20, 36, .7) 0%, rgba(0, 20, 36, .7) 50%, rgba(0, 20, 36, .5) 100%);
}

.hero-half-right .hero-half-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 12, 0, .7) 0%, rgba(20, 12, 0, .7) 50%, rgba(20, 12, 0, .5) 100%);
}

.hero-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .3), transparent);
    z-index: 10;
    transform: translateX(-50%);
}

.hero-divider-label {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 11;
    transform: translate(-50%, -50%);
    background: var(--navy-deep);
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}



.hero-audience {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.is-hidden {
    display: none !important;
}

.aud-card.is-hidden {
    display: block !important;
    opacity: 0.35;
    transform: scale(0.95);
    filter: grayscale(0.4);
}

.aud-card.is-active {
    opacity: 1;
    transform: scale(1.02);
}

.tag-inv {
    background: rgba(64, 193, 172, .2);
    border: 1px solid rgba(64, 193, 172, .35);
    color: var(--teal);
}

.tag-vend {
    background: var(--gold-lt);
    border: 1px solid rgba(201, 168, 76, .35);
    color: var(--gold);
}

.hero-title {
    font-family: 'Onest';
    font-size: clamp(38px, 5.5vw, 52px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    max-width: 450px;
}



.hero-half-left .hero-title span {
    font-family: 'Fraunces', serif;
    line-height: 1;
    color: var(--teal);
    font-size: clamp(42px, 6vw, 72px);
}

.hero-half-right .hero-title em {
    color: var(--gold);
    font-family: 'Onest';
    line-height: 1.2;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 400px;
    font-weight: 300;
}

.hero-metric {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 24px;
}

.hero-metric strong {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 900;
}

.hero-half-left .hero-metric strong {
    color: var(--teal);
}

.hero-half-right .hero-metric strong {
    color: var(--gold);
}

.hero-metric span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.3;
}

/* ══ SECTION BASE ══ */
section:not(:first-of-type) {
    padding: 80px 5%;
}

.tag-s {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.tag-gold-s {
    color: var(--gold);
}

.h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--navy);
}

.h2 em {
    font-style: italic;
    color: var(--steel);
}

.h2.propietario em {

    color: var(--gold);
}

.h2-light {
    color: #fff;
}

.h2-light em {
    color: var(--teal);
}

.sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 400;
}

.rule {
    width: 27%;
    height: 3px;
    background: var(--grad);
    border-radius: 2px;
    margin: 18px 0 24px;
}

.rule-gold {
    background: var(--grad-gold);
}

.center {
    text-align: center;
}

.center .rule {
    margin: 18px auto 24px;
}

.center .sub {
    max-width: 600px;
    margin: 0 auto;
}

/* ══ AUDIENCIAS SWITCHER ══ */
#audiencias {
    background: var(--navy-deep);
    padding: 70px 5%;
}

.aud-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 40px;
    border-radius: 2rem;
    overflow: hidden;
}

.aud-card {
    padding: 52px 44px;
    position: relative;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
}

.aud-card-inv {
    background: rgba(0, 79, 113, .2);
}

.aud-card-vend {
    background: rgba(40, 28, 0, .5);
}

.aud-card:hover {
    transform: scale(1.01);
}

.aud-number {
    font-family: 'Fraunces', serif;
    font-size: 100px;
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: .06;
    line-height: 1;
    color: #fff;
}

.aud-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.aud-card h3 {
    font-family: 'Onest';
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.aud-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 360px;
}

.aud-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.aud-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.aud-perks li::before {
    content: '→';
    font-weight: 700;
    flex-shrink: 0;
}

.aud-card-inv .aud-perks li::before {
    color: var(--teal);
}

.aud-card-vend .aud-perks li::before {
    color: var(--gold);
}

/* ══ PROCESO ══ */
#proceso {
    background: var(--cream);
}

.proceso-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    width: fit-content;
}

.ptab {
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all .25s;
    background: var(--white);
    color: var(--muted);
    border: none;
    font-family: 'Onest', sans-serif;
}

.ptab.active-inv {
    background: var(--navy);
    color: #fff;
}

.ptab.active-vend {
    background: var(--gold);
    color: #42381e;
}

.proceso-track {
    display: none;
}

.proceso-track.show {
    display: block;
}

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

.steps-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    z-index: 0;
}

.steps-grid-vend::before {
    background: linear-gradient(90deg, var(--gold), #c9a84c88);
}

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

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 900;
    border: 3px solid;
    position: relative;
    background: var(--cream);
}

.step-num-inv {
    color: var(--navy);
    border-color: var(--teal);
}

.step-num-vend {
    color: #42381e;
    border-color: var(--gold);
}

.step-icon {

    display: flex;
    justify-content: center;
}

.step h4 {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.steps-grid-vend .step h4 {
    color: #42381e;
}

.step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.proceso-cta {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.proceso-note {
    font-size: 13px;
    color: var(--muted);
}

.proceso-note strong {
    color: var(--navy);
}

/* ══ ROI CALCULATOR ══ */
#roi {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

#roi::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--teal);
    opacity: .04;
}

#roi::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .04;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.roi-text .tag-s {
    color: var(--teal);
}

.roi-text .h2 {
    color: #fff;
    margin-bottom: 16px;
}

.roi-text .sub {
    color: rgba(255, 255, 255, .6);
    margin-bottom: 36px;
}

.roi-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.roi-feat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 18px 20px;
}

.roi-feat-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.roi-feat h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.roi-feat p {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}

/* CALC CARD */
.roi-calc {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.roi-calc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
}

.calc-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.calc-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 28px;
}

.calc-field {
    margin-bottom: 20px;
}

.calc-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.calc-input-wrap {
    position: relative;
}

.calc-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .4);
    font-size: 14px;
    font-weight: 600;
}

.calc-input {
    width: 100%;
    padding: 13px 14px 13px 32px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9px;
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s;
}

.calc-input:focus {
    border-color: var(--gold);
}

.calc-slider {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--gold);
    cursor: pointer;
}

.calc-results {
    background: rgba(201, 168, 76, .1);
    border: 1px solid rgba(201, 168, 76, .25);
    border-radius: 14px;
    padding: 24px;
    margin-top: 24px;
}

.calc-results-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calc-row:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(201, 168, 76, .2);
}

.calc-row span {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.calc-row strong {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.calc-row.highlight strong {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--gold);
}

/* ══ ANTES/DESPUES — SOCIAL PROOF ══ */
#proof {
    background: var(--white);
}

.proof-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pstat {
    background: var(--light);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    text-align: center;
}

.pstat .num {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pstat .lbl {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
    background: var(--white);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 79, 113, .13);
}

.case-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 180px;
}

.case-imgs>div {
    position: relative;
    overflow: hidden;
}

.case-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.case-card:hover .case-imgs img {
    transform: scale(1.05);
}

.case-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.case-body {
    padding: 22px;
}

.case-body h3 {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.case-location {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

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

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

.case-metric .val {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--teal);
}

.case-metric.positive .val {
    color: #22c55e;
}

.case-metric .key {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ══ TESTIMONIOS ══ */
#testimonios {
    background: var(--cream);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testi-card {
    background: var(--white);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: all .3s;
}

.testi-card:hover {
    box-shadow: 0 14px 40px rgba(0, 79, 113, .1);
    transform: translateY(-4px);
}

.testi-quote {
    font-size: 48px;
    line-height: 1;
    color: var(--teal);
    opacity: .3;
    font-family: 'Fraunces', serif;
    margin-bottom: -10px;
}

.testi-text {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}

.testi-av-inv {
    background: var(--grad);
}

.testi-av-vend {
    background: var(--grad-gold);
    color: #42381e;
}

.testi-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
}

.testi-role {
    font-size: 12px;
    color: var(--muted);
}

.testi-stars {
    color: #F5C842;
    font-size: 13px;
    margin-top: 2px;
}

.testi-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
}

.badge-inv {
    background: rgba(64, 193, 172, .12);
    color: var(--teal);
    border: 1px solid rgba(64, 193, 172, .25);
}

.badge-vend {
    background: var(--gold-lt);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, .25);
}

/* ══ FAQ ══ */
#faq {
    background: var(--navy-deep);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.faq-left .tag-s {
    color: var(--teal);
}

.faq-left .h2 {
    color: #fff;
    margin-bottom: 16px;
}

.faq-left .sub {
    color: rgba(255, 255, 255, .55);
    margin-bottom: 32px;
}

.faq-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 9px 18px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    border: none;
    font-family: 'Onest', sans-serif;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .5);
}

.faq-tab.active {
    background: var(--teal);
    color: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    line-height: 1.4;
}

.faq-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    transition: all .3s;
    line-height: 0;
    font-family: 'Fraunces';
}

.faq-item.open .faq-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: rotate(45deg);
}

.faq-a {
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s;
}

.faq-item.open .faq-a {
    max-height: 250px;
    padding-bottom: 18px;
}

/* ══ CTA DUAL ══ */
#cta-final {
    padding: 0;
    overflow: hidden;
}

.cta-dual {
    display: flex;
    justify-content: space-between;
}

.cta-half {
    padding: 60px 6%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 480px;
}

.cta-half.cta-half-inv,
.cta-half.cta-half-vend {
    width: 100%;
}

.cta-half-bg {
    position: absolute;
    inset: 0;
}

.cta-half-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-half-inv .cta-half-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 72, 0.93) 25%, rgba(64, 193, 172, .5) 100%);
}

.cta-half-vend .cta-half-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(40, 28, 0, .8) 25%, rgba(201, 168, 76, .75) 100%);
}

.cta-half-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.cta-half-content .tag-s {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .7);
    letter-spacing: 2px;
}

.cta-half-content .h2 {
    color: #fff;
    font-size: clamp(26px, 3.5vw, 42px);
    margin-bottom: 16px;
}

.cta-half-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ══ CONTACTO ══ */
#contacto {
    background: var(--navy-deep);
    padding: 80px 5%;
}

.contacto-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.form-dark {
    position: relative;
    border-radius: 22px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
}

.form-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    /* grosor del borde */

    background: var(--grad);

    /* magia */
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}


.form-title {
    font-family: 'Onest';
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.form-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 28px;
}

.form-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fg {
    margin-bottom: 16px;
}

.fg label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.fi {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.fi::placeholder {
    color: rgba(255, 255, 255, .3);
}

.fi:focus {
    border-color: var(--teal);
}

.fi-select {
    cursor: pointer;
    appearance: none;
}

.fi-ta {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 16px;
    font-size: 15px;
}

.form-note {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .25);
    margin-top: 12px;
}

/* ══ FOOTER ══ */
footer {
    background: var(--navy-deep);
    padding: 60px 5% 28px;
}

.foot-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding-bottom: 48px;
    margin-bottom: 28px;
}

.foot-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
    max-width: 260px;
    margin-top: 16px;
}

.foot-col h4 {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.foot-col ul li a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.foot-col ul li a:hover {
    color: var(--teal);
}

.foot-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
}

.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, .25);
}

.foot-bottom a {
    color: var(--teal);
    text-decoration: none;
}

/* ══ WA FLOAT ══ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
    text-decoration: none;
    transition: all .3s;
    animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
    }

    50% {
        box-shadow: 0 6px 40px rgba(37, 211, 102, .7), 0 0 0 10px rgba(37, 211, 102, .08);
    }
}

/* ══ REVEAL ══ */
.rv {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s, transform .65s;
}

.rv-l {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .65s, transform .65s;
}

.rv-r {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .65s, transform .65s;
}

.rv.on,
.rv-l.on,
.rv-r.on {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

/* ══ HERO ANIM ══ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.ha1 {
    animation: fadeUp .8s .3s both
}

.ha2 {
    animation: fadeUp .8s .5s both
}

.ha3 {
    animation: fadeUp .8s .7s both
}

.ha4 {
    animation: fadeUp .8s .9s both
}

/* ══ RESPONSIVE ══ */
@media(max-width:1000px) {
    #hero {
        grid-template-columns: 1fr;
    }

    #proceso {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #proceso .descripcion {
        width: 100%;
    }

    .hero-divider,
    .hero-divider-label {
        display: none;
    }

    .aud-grid,
    .roi-grid,
    .proof-intro,
    .casos-grid,
    .contacto-wrap,

    .faq-grid,
    .foot-top {
        grid-template-columns: 1fr;
    }

    .cta-dual {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #cta-final div .cta-half {
        min-height: 300px;
        padding: 20px 6%;
    }

    .cases-grid,
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

    .nav-links {
        display: none;
    }
}

@media (max-width: 767px) {

    .split-hero.selected-left .hero-right,
    .split-hero.selected-right .hero-left {
        max-height: 100px;
        justify-content: center;
    }

    .split-hero.selected-left .hero-right .hero-content div,
    .split-hero.selected-right .hero-left .hero-content div {
        display: none;

    }

    .split-hero.selected-left .hero-right .hero-content button,
    .split-hero.selected-right .hero-left .hero-content button {
        margin-bottom: 0px;

    }


    .ptab {

        font-size: 10px;

    }

    .ptab p {
        display: none;
    }

    .ptab.active-inv p,
    .ptab.active-vend p {
        display: block;
    }

    .step {
        padding: 0px;
    }


}

@media(max-width:640px) {



    .cases-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-row2 {
        grid-template-columns: 1fr;
    }

    .foot-top {
        grid-template-columns: 1fr;
    }



    .hero-half {
        padding: 50px 5% 60px;
    }
}