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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #080808;
    color: #111;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

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

button,
input,
select {
    font-family: inherit;
}


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

:root {

    --black: #080808;
    --black-2: #101010;
    --black-3: #161616;

    --white: #ffffff;
    --off-white: #f5f4f0;

    --gray: #8d8d8d;
    --gray-light: #d8d8d8;

    --line-dark: rgba(255,255,255,.12);
    --line-light: rgba(0,0,0,.10);

    --accent: #d6a85d;
    --accent-light: #e7c486;

    --container: 1240px;

    --radius: 20px;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}

.section {
    padding: 130px 0;
}

.dark-section {
    background: var(--black);
    color: var(--white);
}

.light-section {
    background: var(--off-white);
    color: var(--black);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--accent);
}

.section-heading {
    max-width: 750px;

    margin-bottom: 70px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    margin-bottom: 20px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(38px, 5vw, 68px);

    line-height: 1.02;

    letter-spacing: -2px;
}

.section-heading p {
    max-width: 620px;

    font-size: 17px;

    color: var(--gray);
}

.dark-section .section-heading p {
    color: #888;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background .35s ease,
        border .35s ease,
        padding .35s ease;
}

.header.scrolled {
    background: rgba(8,8,8,.92);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--line-dark);
}

.nav-container {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================================================
   LOGO SQUARE CAPITAL
===================================================== */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 190px;
    height: 80px;

    flex-shrink: 0;

    text-decoration: none;

    position: relative;
    z-index: 1001;
}

.logo img {
    display: block;

    width: auto;
    height: 68px;
    max-width: 180px;

    object-fit: contain;

    /* Convierte visualmente el SVG a blanco */
    filter: brightness(0) invert(1);
}

.logo strong {
    display: block;

    color: var(--accent);

    font-size: 9px;

    letter-spacing: 3px;

    margin-top: 4px;
}

.logo-square {
    width: 27px;
    height: 27px;

    display: block;

    border: 2px solid var(--accent);

    position: relative;
}

.logo-square::after {
    content: "";

    position: absolute;

    width: 9px;
    height: 9px;

    background: var(--accent);

    right: 4px;
    bottom: 4px;
}

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

    gap: 32px;

    color: #fff;
}

.nav a {
    font-size: 13px;

    transition: color .25s ease;
}

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

.nav-button {
    padding: 12px 20px;

    border: 1px solid rgba(255,255,255,.3);

    border-radius: 100px;
}

.nav-button:hover {
    background: #fff;
    color: #111 !important;
}

.menu-toggle {
    display: none;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 5px 0;

    background: #fff;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.90),
            rgba(0,0,0,.45),
            rgba(0,0,0,.25)
        ),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90")
        center / cover;
}

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.05),
            rgba(0,0,0,.75)
        );
}

.hero-container {
    position: relative;

    z-index: 2;

    padding-top: 80px;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    max-width: 850px;

    margin-bottom: 30px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(52px, 8vw, 105px);

    line-height: .94;

    letter-spacing: -5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    max-width: 650px;

    margin-bottom: 40px;

    font-size: 18px;

    color: #c9c9c9;
}

.hero-actions {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {
    min-height: 54px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: 100px;

    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: #fff;
    color: #111;
}

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-outline {
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

.hero-trust {
    margin-top: 80px;

    display: flex;

    gap: 50px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.18);
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-family: "Manrope", sans-serif;

    font-size: 24px;
}

.hero-trust span {
    font-size: 11px;

    color: #999;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;

    bottom: 35px;
    right: 40px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 9px;

    letter-spacing: 2px;

    color: #aaa;

    writing-mode: vertical-rl;
}

.hero-scroll span {
    width: 1px;
    height: 45px;

    background: var(--accent);
}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    padding: 70px 0;

    background: #101010;

    color: #fff;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.stat {
    padding-right: 30px;

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

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-family: "Manrope", sans-serif;

    font-size: 45px;

    letter-spacing: -2px;
}

.stat > span {
    color: var(--accent);

    font-size: 20px;
}

.stat p {
    margin-top: 6px;

    color: #858585;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =====================================================
   FRICTION
===================================================== */

.friction-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: var(--line-dark);

    border: 1px solid var(--line-dark);
}

.friction-card {
    min-height: 300px;

    padding: 35px;

    background: var(--black);

    transition: background .3s ease;
}

.friction-card:hover {
    background: #121212;
}

.card-number {
    margin-bottom: 70px;

    color: var(--accent);

    font-size: 11px;

    letter-spacing: 2px;
}

.friction-card h3 {
    margin-bottom: 15px;

    font-family: "Manrope", sans-serif;

    font-size: 22px;

    line-height: 1.15;
}

.friction-card p {
    color: #858585;

    font-size: 14px;
}


/* =====================================================
   SPLIT
===================================================== */

.split-section {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;

    align-items: center;
}

.split-content h2 {
    margin-bottom: 25px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -3px;
}

.split-content h2 span {
    color: var(--accent);
}

.split-content p {
    max-width: 580px;

    margin-bottom: 20px;

    color: #666;

    font-size: 16px;
}

.text-link {
    display: inline-block;

    margin-top: 15px;

    font-size: 13px;
    font-weight: 700;

    border-bottom: 1px solid #111;

    padding-bottom: 5px;
}

.benefits-list {
    border-top: 1px solid var(--line-light);
}

.benefit-item {
    display: flex;

    gap: 22px;

    padding: 25px 0;

    border-bottom: 1px solid var(--line-light);
}

.benefit-icon {
    width: 32px;
    height: 32px;

    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;

    color: var(--accent);

    font-size: 12px;
}

.benefit-item h3 {
    margin-bottom: 4px;

    font-size: 17px;
}

.benefit-item p {
    color: #777;

    font-size: 13px;
}


/* =====================================================
   MODELOS
===================================================== */

.models-section {
    background: #111;

    color: #fff;
}

.models-section .section-heading p {
    color: #888;
}

.models-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.model-card {
    min-height: 550px;

    padding: 45px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: var(--radius);

    background: #151515;

    transition:
        transform .3s ease,
        border .3s ease;
}

.model-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255,255,255,.3);
}

.model-card.rentvalue {
    background:
        linear-gradient(
            145deg,
            #171717,
            #0d1110
        );
}

.model-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 60px;
}

.model-label {
    color: #777;

    font-size: 10px;

    letter-spacing: 2px;
}

.model-arrow {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;

    color: var(--accent);
}

.model-card h3 {
    margin-bottom: 15px;

    font-family: "Manrope", sans-serif;

    font-size: 48px;

    letter-spacing: -2px;
}

.model-route {
    margin-bottom: 25px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.model-route span {
    margin: 0 7px;

    color: #555;
}

.model-card > p {
    max-width: 500px;

    margin-bottom: 30px;

    color: #929292;

    font-size: 15px;
}

.model-card ul {
    margin-bottom: 35px;

    list-style: none;
}

.model-card li {
    padding: 10px 0;

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

    color: #bbb;

    font-size: 13px;
}

.model-card li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--accent);
}

.model-link {
    font-size: 12px;

    font-weight: 700;

    color: #fff;
}


/* =====================================================
   OPERACIONES
===================================================== */

.operations-section {
    background: var(--off-white);
}

.operation-case {
    display: grid;

    grid-template-columns: .95fr 1.05fr;

    margin-bottom: 80px;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    box-shadow: 0 25px 70px rgba(0,0,0,.08);
}

.operation-case.reverse {
    grid-template-columns: 1.05fr .95fr;
}

.operation-case.reverse .operation-image {
    order: 2;
}

.operation-image {
    position: relative;

    min-height: 600px;
}

.operation-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.operation-badge {
    position: absolute;

    left: 25px;
    top: 25px;

    padding: 8px 12px;

    background: rgba(0,0,0,.72);

    color: #fff;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.operation-content {
    padding: 50px;
}

.operation-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 20px;
}

.operation-type {
    color: #a77b36;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.operation-type.rent {
    color: #5b836b;
}

.operation-header h3 {
    margin-top: 8px;

    font-family: "Manrope", sans-serif;

    font-size: 31px;

    line-height: 1.05;
}

.operation-time {
    white-space: nowrap;

    padding: 8px 12px;

    border: 1px solid #ddd;

    border-radius: 100px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}

.operation-description {
    margin-bottom: 35px;

    color: #777;

    font-size: 14px;
}

.operation-numbers {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 30px;
}

.operation-numbers div {
    padding-bottom: 15px;

    border-bottom: 1px solid #e5e5e5;
}

.operation-numbers span,
.operation-result span {
    display: block;

    margin-bottom: 5px;

    color: #888;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.operation-numbers strong {
    font-family: "Manrope", sans-serif;

    font-size: 20px;
}

.operation-result {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    padding: 20px;

    margin-bottom: 35px;

    background: #f6f5f1;
}

.operation-result strong {
    font-family: "Manrope", sans-serif;

    font-size: 24px;
}

.operation-timeline {
    position: relative;

    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;
}

.timeline-line {
    position: absolute;

    left: 0;
    right: 0;

    top: 9px;

    height: 1px;

    background: #ddd;
}

.mini-step {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 7px;

    background: #fff;

    padding: 0 6px;
}

.mini-step strong {
    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 8px;
}

.mini-step span {
    color: #777;

    font-size: 9px;

    text-align: center;
}

.operation-content small {
    display: block;

    color: #999;

    font-size: 10px;

    line-height: 1.5;
}
.operations-note {
    margin-top: 55px;      /* ESPACIO ARRIBA */
    padding: 20px;

    border-left: 2px solid var(--accent);

    background: #fff;

    color: #777;

    font-size: 12px;
}

.operations-note strong {
    color: #222;
}

/* =====================================================
   NUEVO DISEÑO OPERACIONES - FLIPMAX / RENTVALUE
===================================================== */

.operation-case.operation-case-new {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 80px;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .08);
}

/* ...resto del código CSS que te pasé... */
/* =====================================================
   PROCESS
===================================================== */

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: rgba(255,255,255,.1);
}

.process-card {
    min-height: 320px;

    padding: 35px;

    background: #080808;

    transition: background .3s ease;
}

.process-card:hover {
    background: #111;
}

.process-card > span {
    display: block;

    margin-bottom: 90px;

    color: var(--accent);

    font-size: 11px;

    letter-spacing: 2px;
}

.process-card h3 {
    margin-bottom: 14px;

    font-family: "Manrope", sans-serif;

    font-size: 24px;
}

.process-card p {
    color: #777;

    font-size: 13px;
}


/* =====================================================
   BIG TIMELINE
===================================================== */

.big-timeline {
    position: relative;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    padding-top: 25px;
}

.big-timeline::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 45px;

    height: 1px;

    background: #ccc;
}

.big-timeline-item {
    position: relative;

    z-index: 2;
}

.timeline-dot {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background: #111;

    color: var(--accent);

    font-size: 10px;

    font-weight: 700;
}

.big-timeline-item h3 {
    margin-bottom: 4px;

    font-family: "Manrope", sans-serif;

    font-size: 19px;
}

.big-timeline-item > span {
    color: #999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.big-timeline-item p {
    margin-top: 15px;

    max-width: 180px;

    color: #777;

    font-size: 12px;
}


/* =====================================================
   COLLABORATION
===================================================== */

.collaboration-section {
    background: #fff;
}

.steps-list {
    border-top: 1px solid #ddd;
}

.step-row {
    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid #ddd;
}

.step-row > span {
    color: var(--accent);

    font-size: 11px;

    font-weight: 800;
}

.step-row h3 {
    margin-bottom: 5px;

    font-size: 17px;
}

.step-row p {
    color: #777;

    font-size: 13px;
}


/* =====================================================
   REFORMS
===================================================== */

.reforms-section {
    background: #111;

    color: #fff;
}

.reforms-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    padding: 80px;

    border: 1px solid rgba(255,255,255,.1);

    background:
        linear-gradient(
            135deg,
            #171717,
            #0c0c0c
        );
}

.reforms-box h2 {
    font-family: "Manrope", sans-serif;

    font-size: clamp(45px, 6vw, 75px);

    line-height: .95;

    letter-spacing: -3px;
}

.reforms-box p {
    margin-top: 20px;

    color: #8c8c8c;

    font-size: 15px;
}

.small-note {
    font-size: 10px !important;

    color: #555 !important;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials-section {
    background: #f6f5f1;
}

.testimonials-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.testimonial {
    padding: 35px;

    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 18px;
}

.stars {
    margin-bottom: 25px;

    color: #d29e45;

    letter-spacing: 3px;
}

.testimonial p {
    min-height: 120px;

    margin-bottom: 25px;

    color: #555;

    font-size: 14px;
}

.testimonial strong {
    display: block;

    font-size: 13px;
}

.testimonial > span {
    color: #999;

    font-size: 10px;
}


/* =====================================================
   FAQ
===================================================== */

.faq-container {
    max-width: 900px;
}

.faq-list {
    border-top: 1px solid rgba(255,255,255,.15);
}

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

.faq-question {
    width: 100%;

    padding: 25px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: transparent;

    border: 0;

    color: #fff;

    cursor: pointer;

    text-align: left;

    font-size: 15px;
}

.faq-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 50%;

    color: var(--accent);

    transition: transform .3s ease;
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height .4s ease;
}

.faq-answer p {
    padding-bottom: 25px;

    max-width: 700px;

    color: #888;

    font-size: 13px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 100px 0;

    background: var(--off-white);
}

.cta-box {
    padding: 100px 40px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #111,
            #1b1b1b
        );

    color: #fff;
}

.cta-box h2 {
    max-width: 900px;

    margin: 0 auto 20px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(40px, 6vw, 70px);

    line-height: 1;

    letter-spacing: -3px;
}

.cta-box p {
    max-width: 600px;

    margin: 0 auto 35px;

    color: #888;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;

    align-items: start;
}

.contact-info h2 {
    margin-bottom: 25px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -3px;
}

.contact-info > p {
    max-width: 500px;

    margin-bottom: 45px;

    color: #777;
}

.contact-detail {
    display: flex;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid #ddd;
}

.contact-detail > span {
    color: var(--accent);

    font-size: 10px;

    font-weight: 800;
}

.contact-detail strong {
    font-size: 13px;
}

.contact-detail p {
    color: #888;

    font-size: 12px;
}

.contact-form-wrapper {
    padding: 40px;

    background: #f5f4f0;

    border-radius: 20px;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;

    height: 54px;

    padding: 0 16px;

    border: 1px solid #ddd;

    border-radius: 10px;

    outline: none;

    background: #fff;

    color: #222;

    font-size: 13px;

    transition: border .2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #777;
}


/* =====================================================
   INVESTMENT SELECTOR
===================================================== */

.investment-selector {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin-top: 10px;
}

.investment-card {
    position: relative;

    display: block;

    cursor: pointer;
}

.investment-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.investment-card-content {
    position: relative;

    min-height: 190px;

    padding: 23px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    overflow: hidden;

    border: 1px solid #ddd;

    border-radius: 15px;

    background: #fff;

    transition:
        transform .25s ease,
        border .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.investment-card:hover .investment-card-content {
    transform: translateY(-3px);

    border-color: #aaa;
}

.investment-card input:checked
+ .investment-card-content {

    border-color: #111;

    background: #111;

    color: #fff;

    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.investment-icon {
    width: 43px;
    height: 43px;

    min-width: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f1f1f1;

    color: #111;

    font-size: 18px;

    font-weight: 700;
}

.investment-card input:checked
+ .investment-card-content
.investment-icon {

    background: rgba(255,255,255,.12);

    color: var(--accent);
}

.investment-info {
    padding-right: 20px;
}

.investment-info h3 {
    margin-bottom: 3px;

    font-family: "Manrope", sans-serif;

    font-size: 18px;
}

.investment-info span {
    display: block;

    margin-bottom: 10px;

    color: #888;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}

.investment-card input:checked
+ .investment-card-content
.investment-info span {

    color: #999;
}

.investment-info p {
    color: #777;

    font-size: 11px;

    line-height: 1.55;
}

.investment-card input:checked
+ .investment-card-content
.investment-info p {

    color: #999;
}

.investment-check {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 23px;
    height: 23px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;

    border-radius: 50%;

    color: transparent;

    font-size: 10px;

    transition: .25s ease;
}

.investment-card input:checked
+ .investment-card-content
.investment-check {

    background: #fff;

    border-color: #fff;

    color: #111;
}


/* =====================================================
   PRIVACY
===================================================== */

.privacy-check {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 5px 0 20px;
}

.privacy-check input {
    margin-top: 3px;
}

.privacy-check label {
    color: #777;

    font-size: 11px;
}


/* =====================================================
   FORM BUTTON
===================================================== */

.form-submit {
    width: 100%;

    border: 0;
}

.form-submit.loading {
    opacity: .65;

    pointer-events: none;
}

.form-message {
    display: none;

    margin-top: 15px;

    padding: 13px;

    border-radius: 8px;

    font-size: 12px;

    text-align: center;
}

.form-message.success {
    display: block;

    background: #e8f6ec;

    color: #24733b;
}

.form-message.error {
    display: block;

    background: #fae8e8;

    color: #9c3131;
}


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

.footer {
    padding: 70px 0 25px;

    background: #080808;

    color: #fff;
}

.footer-main {
    display: grid;

    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 60px;

    padding-bottom: 60px;

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

.footer-brand p {
    max-width: 300px;

    margin-top: 25px;

    color: #666;

    font-size: 12px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 10px;

    color: #fff;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.footer-column a,
.footer-column span {
    color: #666;

    font-size: 12px;

    transition: color .2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #444;

    font-size: 10px;
}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    z-index: 900;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 50%;

    background: #111;

    color: #fff;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: .3s ease;
}

.back-to-top.visible {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 1000px) {

    .nav {
        position: fixed;

        top: 90px;
        right: -100%;

        width: 300px;

        min-height: calc(100vh - 90px);

        padding: 35px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        background: #101010;

        border-left: 1px solid rgba(255,255,255,.1);

        transition: right .3s ease;
    }

    .nav.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

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

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

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

    .split-section {
        gap: 60px;
    }

    .operation-case,
    .operation-case.reverse {
        grid-template-columns: 1fr;
    }

    .operation-case.reverse .operation-image {
        order: 0;
    }

    .operation-image {
        min-height: 450px;
    }

    .big-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .big-timeline::before {
        display: none;
    }

    .contact-grid {
        gap: 50px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .section {
        padding: 90px 0;
    }

    .nav-container {
        height: 75px;
    }

    .nav {
        top: 75px;

        min-height: calc(100vh - 75px);
    }

    .hero-container {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 75px);

        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-trust {
        margin-top: 50px;

        gap: 20px;

        flex-wrap: wrap;
    }

    .hero-trust strong {
        font-size: 19px;
    }

    .hero-scroll {
        display: none;
    }

    .stats-grid,
    .friction-grid,
    .models-grid,
    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;

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

        padding: 20px 0;
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .split-section {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .split-content h2 {
        letter-spacing: -2px;
    }

    .model-card {
        min-height: auto;

        padding: 30px;
    }

    .operation-content {
        padding: 30px 22px;
    }

    .operation-image {
        min-height: 330px;
    }

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

    .operation-numbers,
    .operation-result {
        grid-template-columns: 1fr 1fr;
    }

    .mini-step span {
        font-size: 8px;
    }

    .big-timeline {
        grid-template-columns: 1fr;
    }

    .reforms-box {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 25px;
    }

    .cta-box {
        padding: 70px 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

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

    .investment-selector {
        grid-template-columns: 1fr;
    }

    .investment-card-content {
        min-height: 170px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


@media (max-width: 420px) {

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .operation-numbers,
    .operation-result {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   HEADER / LOGO - CORRECCIÓN FINAL
===================================================== */
.header .nav-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 24px;
    padding-right: 32px;
}

.header .logo {
    width: 180px;
    height: 80px;
    margin: 0;
    flex: 0 0 auto;
}

.header .logo img {
    width: auto;
    height: 66px;
    max-width: 170px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 700px) {
    .header .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header .logo {
        width: 145px;
        height: 70px;
    }

    .header .logo img {
        height: 54px;
        max-width: 140px;
    }
}


/* =====================================================
   LOGO REAL EN EL FOOTER
===================================================== */
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 180px;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 78px;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .footer-logo {
        width: 155px;
    }

    .footer-logo img {
        height: 68px;
        max-width: 155px;
    }
}











/* =====================================================
   FOTOS ANTES Y DESPUÉS
===================================================== */

.operation-gallery {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-top: 30px;
    margin-bottom: 25px;
}


/* CAJA DE CADA FOTO */

.operation-photo {
    position: relative;

    width: 100%;
    height: 300px;

    overflow: hidden;

    border-radius: 12px;

    background: #eeeeee;
}


/* FOTO */

.operation-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}


/* EFECTO AL PASAR EL RATÓN */

.operation-photo:hover img {
    transform: scale(1.03);
}


/* ETIQUETA */

.operation-photo-label {
    position: absolute;

    left: 18px;
    bottom: 18px;

    padding: 9px 16px;

    border-radius: 50px;

    background: rgba(0, 0, 0, 0.85);

    color: white;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* COLOR DE DESPUÉS */

.operation-photo-label.after {
    background: #9a7135;
}


/* RENTVALUE EN VERDE */

.rentvalue-case .operation-photo-label.after {
    background: #315f49;
}


/* ==============================
   MÓVIL
============================== */

@media (max-width: 700px) {

    .operation-gallery {
        grid-template-columns: 1fr;
    }

    .operation-photo {
        height: 260px;
    }

}



/* =====================================================
   OPERACIONES EN DOS COLUMNAS
   FLIPMAX | RENTVALUE
===================================================== */

.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;

    width: 100%;
    align-items: stretch;
}


/* Cada tarjeta ocupa su columna */

.operations-grid .operation-case.operation-case-new {
    width: 100%;
    max-width: none;

    margin: 0;

    display: block;
}


/* Contenido interior */

.operations-grid .operation-content-full {
    width: 100%;

    padding: 38px 32px;
}


/* TÍTULOS */

.operations-grid .operation-header h3 {
    font-size: 27px;
}


/* DESCRIPCIÓN */

.operations-grid .operation-description {
    font-size: 13px;
}


/* NÚMEROS */

.operations-grid .operation-numbers-new {
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


/* RESULTADOS */

.operations-grid .operation-result-new,
.operations-grid .rentvalue-result {
    grid-template-columns: repeat(2, 1fr);
}


/* FOTOS */

.operations-grid .operation-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;
}


/* ALTURA DE LAS FOTOS */

.operations-grid .operation-photo {
    height: 230px;
}


/* TIMELINE */

.operations-grid .operation-timeline-new {
    width: 100%;
}


/* =====================================================
   TABLET / MÓVIL
===================================================== */

@media (max-width: 1000px) {

    .operations-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .operations-grid .operation-case.operation-case-new {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

}


/* MÓVIL */

@media (max-width: 650px) {

    .operations-grid .operation-content-full {
        padding: 28px 20px;
    }

    .operations-grid .operation-gallery {
        grid-template-columns: 1fr;
    }

    .operations-grid .operation-photo {
        height: 260px;
    }

}



/* ...tu código anterior... */



/* =====================================================
   ALINEAR FLIPMAX Y RENTVALUE
===================================================== */

.operations-grid {
    align-items: stretch;
}

.operations-grid .operation-content-full {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.operations-grid .operation-timeline-new {
    margin-top: auto;
}

.operations-grid .operation-gallery {
    width: 100%;
}

.operations-grid .operation-photo {
    height: 260px;
}

.operations-grid .operation-disclaimer {
    min-height: 42px;
    margin-top: 22px;
}
