:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --line: #dbe3ef;
    --paper: #f8fafc;
    --white: #ffffff;
    --blue: #2563eb;
    --blue-2: #0ea5e9;
    --green: #16a34a;
    --amber: #f59e0b;
    --shadow: 0 24px 70px rgba(15, 23, 42, .16);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.65;
}

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

.renttal-nav {
    background: rgba(248, 250, 252, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(203, 213, 225, .7);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--ink) !important;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 12px 24px rgba(37, 99, 235, .35);
}

.nav-link { font-weight: 700; color: var(--ink-2); }
.nav-link:hover { color: var(--blue); }

.btn-renttal {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-color: var(--white);
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-hover-color: var(--white);
    font-weight: 800;
    border-radius: 999px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    padding: 9.5rem 0 6rem;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 17%, rgba(14, 165, 233, .42), transparent 24rem),
        radial-gradient(circle at 8% 82%, rgba(245, 158, 11, .22), transparent 24rem),
        linear-gradient(135deg, #08111f 0%, #0f172a 48%, #10233f 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.15));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #bfdbfe;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--blue); }
.eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 99px;
    background: var(--amber);
}

.hero-title, .section-title, h2 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -.04em;
}

.hero-title {
    max-width: 820px;
    font-size: clamp(3.1rem, 8vw, 6.5rem);
    line-height: .92;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-copy {
    max-width: 680px;
    color: #dbeafe;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    max-width: 760px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: rgba(255,255,255,.12);
}
.proof-strip div {
    padding: 1rem;
    background: rgba(15, 23, 42, .52);
}
.proof-strip strong { display: block; font-size: 1.1rem; }
.proof-strip span { display: block; color: #cbd5e1; font-size: .9rem; line-height: 1.35; }

.dashboard-card {
    position: relative;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 34px;
    padding: 1.2rem;
    background: rgba(255,255,255,.12);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    backdrop-filter: blur(20px);
    transform: rotate(2deg);
}
.dashboard-card::after {
    content: "";
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    z-index: -1;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(37,99,235,.55), rgba(14,165,233,.2));
}
.dash-header { display: flex; gap: .45rem; margin-bottom: 1.2rem; }
.dash-header span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); }
.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-radius: 24px;
    background: var(--white);
    color: var(--ink);
}
.metric-row small { display:block; color: var(--muted); font-weight: 700; }
.metric-row strong { font-size: 3rem; line-height: 1; font-family: "Space Grotesk", sans-serif; }
.status-pill { border-radius: 999px; padding: .45rem .7rem; font-weight: 800; font-size: .82rem; }
.status-pill.green { background: #dcfce7; color: #166534; }
.mini-chart {
    height: 170px;
    display: flex;
    align-items: end;
    gap: .75rem;
    padding: 1.25rem;
    margin: 1rem 0;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
}
.mini-chart span {
    flex: 1;
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, var(--blue-2), var(--blue));
}
.dash-list { display: grid; gap: .65rem; }
.dash-list div {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--ink);
    background: rgba(255,255,255,.93);
    border-radius: 18px;
    padding: .8rem .9rem;
    font-weight: 700;
}
.dash-list i { color: var(--blue); }

.section-block { padding: 6rem 0; }
.section-heading { max-width: 780px; margin: 0 auto 3rem; }
.section-heading h2, .section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 0;
}
.section-copy { color: var(--muted); font-size: 1.08rem; margin: 0; }

.pain-section { background: var(--white); }
.pain-card, .feature-card, .quote-card, .numbers-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 50px rgba(15,23,42,.07);
}
.pain-card { padding: 1.5rem; }
.pain-card i { font-size: 1.8rem; color: var(--amber); }
h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 700; margin: 1rem 0 .5rem; }
.pain-card p, .feature-card p { color: var(--muted); margin: 0; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.feature-card { padding: 1.35rem; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon-box {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    font-size: 1.35rem;
}

.flow-section {
    background: linear-gradient(180deg, #eef6ff, #f8fafc);
}
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
}
.timeline-item > span {
    flex: 0 0 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--ink);
    color: var(--white);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}
.timeline-item h3 { margin-top: 0; }
.timeline-item p { margin: 0; color: var(--muted); }

.sectors-section { background: var(--ink); color: var(--white); }
.sectors-section .section-copy { color: #cbd5e1; }
.sector-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: flex-lg-end;
}
.sector-cloud span {
    padding: .85rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.09);
    font-weight: 800;
    color: #e2e8f0;
}
.sector-cloud span:nth-child(2n) { background: rgba(37,99,235,.28); }
.sector-cloud span:nth-child(3n) { background: rgba(245,158,11,.22); }

.quote-card { padding: 2rem; background: var(--ink); color: var(--white); }
.quote-card p { font-size: 1.55rem; line-height: 1.32; font-family: "Space Grotesk", sans-serif; }
.quote-card strong { color: #bfdbfe; }
.numbers-card { padding: 2rem; display: grid; gap: 1rem; }
.numbers-card div { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.numbers-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.numbers-card strong { display:block; font-size: 1.5rem; font-family: "Space Grotesk", sans-serif; }
.numbers-card span { color: var(--muted); }

.renttal-accordion {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(15,23,42,.07);
}
.accordion-item { border-color: var(--line); }
.accordion-button { font-weight: 800; font-size: 1rem; }
.accordion-button:not(.collapsed) { color: var(--ink); background: #eaf2ff; box-shadow: none; }

.contact-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(14, 165, 233, .35), transparent 20rem),
        linear-gradient(135deg, #0f172a, #172554);
    color: var(--white);
}
.contact-section p { color: #dbeafe; }
.contact-note {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    color: #dbeafe;
}
.site-footer { padding: 1.4rem 0; color: #cbd5e1; background: #08111f; }
.site-footer a { color: var(--white); font-weight: 800; }

.thanks-body { background: #0f172a; }
.thanks-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(37,99,235,.45), transparent 22rem),
        radial-gradient(circle at 80% 80%, rgba(14,165,233,.3), transparent 24rem),
        #0f172a;
}
.thanks-card {
    max-width: 620px;
    text-align: center;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 34px;
    padding: 3rem;
    background: rgba(255,255,255,.1);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.thanks-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 24px;
    background: var(--green);
    font-size: 2rem;
}
.thanks-card h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); }
.thanks-card p { color: #dbeafe; }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: revealUp .75s ease forwards;
}
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .32s; }
.delay-4 { animation-delay: .42s; }
@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { animation: none; opacity: 1; transform: none; }
    .feature-card { transition: none; }
}

@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding-top: 8rem; }
    .dashboard-card { transform: none; }
    .proof-strip, .feature-grid, .timeline { grid-template-columns: 1fr; }
    .section-block { padding: 4.5rem 0; }
}

@media (max-width: 575.98px) {
    body { font-size: 15.5px; }
    .hero-section { padding: 7rem 0 4rem; }
    .hero-title { font-size: clamp(2.55rem, 15vw, 4rem); }
    .hero-actions .btn { width: 100%; }
    .proof-strip div { padding: .85rem; }
    .thanks-card { padding: 2rem 1.25rem; }
}

.renttal-nav.is-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}

.brand-logo {
    display: block;
    width: 142px;
    height: auto;
}

.machine-photo-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 310px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    background: var(--ink);
}

.machine-photo-card img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    opacity: .88;
}

.machine-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05), rgba(15, 23, 42, .82));
}

.machine-photo-card div {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 1;
    color: var(--white);
}

.machine-photo-card strong,
.machine-photo-card span {
    display: block;
}

.machine-photo-card strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}

.machine-photo-card span {
    margin-top: .4rem;
    color: rgba(255, 255, 255, .78);
}

.site-footer a:not([href="#inicio"]) {
    color: var(--amber);
    font-weight: 800;
}

.contact-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, .24), transparent 18rem),
        linear-gradient(135deg, #0f172a, #10233f);
    color: var(--white);
    box-shadow: var(--shadow);
}

.contact-cta-card h2 {
    margin: .5rem 0 .8rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.contact-cta-card p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.contact-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
}

.contact-phone {
    display: inline-flex;
    padding: .55rem 1rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .contact-cta-card {
        grid-template-columns: 1fr;
    }
}
