﻿:root {
    --bg: #06050c;
    --bg-soft: #0b0913;
    --surface: #100d1b;
    --surface-2: #151122;

    --text: #f7f5fb;
    --muted: #aaa5b5;
    --muted-2: #777181;

    --purple: #6f3cff;
    --purple-soft: #9b7cff;
    --blue: #3677ff;
    --cyan: #4cc9f0;

    --ime-green: #0f766e;
    --ime-green-light: #18a293;
    --ime-blue: #14233c;

    --line: rgba(255,255,255,.10);
    --line-strong: rgba(255,255,255,.18);

    --max: 1220px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(6,5,12,.78);
    border-bottom: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    flex-shrink: 0;
}

.brand-logo {
    width: 47px;
    height: 47px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: .92rem;
    letter-spacing: .16em;
}

.brand-text span {
    margin-top: 5px;

    color: var(--muted);
    font-size: .56rem;
    letter-spacing: .05em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
}

.main-nav a {
    position: relative;

    color: #c4c0cc;
    font-size: .76rem;
    font-weight: 600;

    transition: color .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--purple-soft);

    transition: width .2s ease;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border: 1px solid rgba(155,124,255,.55);
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            rgba(111,60,255,.20),
            rgba(54,119,255,.08)
        );

    color: #fff;

    font-size: .72rem;
    font-weight: 700;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);

    border-color: rgba(155,124,255,.95);

    background:
        linear-gradient(
            135deg,
            rgba(111,60,255,.38),
            rgba(54,119,255,.16)
        );
}


/* =========================================================
   GENERAL
========================================================= */

section {
    position: relative;
    padding: 110px 0;
}

.section-tag,
.ime-label,
.dbvs-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    color: var(--purple-soft);

    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.section-heading h2,
.section-copy h2,
.ime-copy h2,
.dbvs-copy h2,
.faq-intro h2,
.contact-grid h2,
.clients-header h2 {
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    line-height: 1.04;

    letter-spacing: -.045em;
}

.section-heading p,
.section-copy p,
.ime-copy p,
.dbvs-copy p,
.faq-intro p {
    color: var(--muted);
    font-size: 1rem;
}

.section-heading h2 {
    margin-bottom: 20px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 8px;

    font-size: .84rem;
    font-weight: 800;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #7647ff,
            #4d55ff
        );

    box-shadow:
        0 14px 40px rgba(93,62,255,.26);
}

.btn-primary:hover {
    box-shadow:
        0 18px 50px rgba(93,62,255,.42);
}

.btn-glass {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.045);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
    border-color: rgba(255,255,255,.34);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 850px;
    padding: 150px 0 90px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #05040a;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("../assets/Logo Di-Bellum Original (Tamaño Fondo de Escritorio).png");

    background-repeat: no-repeat;
    background-position: 78% 52%;
    background-size: min(720px, 57vw);

    opacity: .29;

    filter:
        saturate(1.15)
        contrast(1.05);
}

.hero::before {
    content: "";

    position: absolute;
    width: 760px;
    height: 760px;

    top: -250px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(104,52,255,.30),
            rgba(54,119,255,.08) 40%,
            transparent 70%
        );

    filter: blur(20px);
}

.hero::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    left: -240px;
    bottom: -330px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(54,119,255,.18),
            transparent 68%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,4,10,.98) 0%,
            rgba(5,4,10,.92) 35%,
            rgba(5,4,10,.55) 65%,
            rgba(5,4,10,.65) 100%
        );
}

.hero-layout {
    position: relative;
    z-index: 5;
}

.hero-copy {
    max-width: 790px;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 28px;

    color: #b6a5ff;

    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(3.7rem, 7.3vw, 7rem);
    line-height: .92;

    letter-spacing: -.065em;
}

.hero h1 span {
    display: block;

    margin-top: 9px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #b6a6ff 55%,
            #6b7dff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-lead {
    max-width: 690px;

    margin-top: 34px;

    color: #cbc7d2;
    font-size: 1.16rem;
    line-height: 1.75;
}

.hero-secondary {
    max-width: 600px;

    margin-top: 12px;

    color: #85808e;
    font-size: .93rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 42px;
}

.hero-tags span {
    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;

    background: rgba(255,255,255,.025);

    color: #8f8999;

    font-size: .66rem;
}

.hero-scroll {
    position: absolute;
    z-index: 5;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    color: #777181;

    font-size: .59rem;
    letter-spacing: .1em;
}

.hero-scroll strong {
    color: #aaa2bc;
    font-size: 1.1rem;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(111,60,255,.09),
            transparent 28%
        ),
        var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;

    align-items: center;

    gap: 80px;
}

.section-copy h2 {
    margin-bottom: 28px;
}

.section-copy p {
    max-width: 650px;
    margin-top: 18px;
}

.about-visual {
    position: relative;

    min-height: 470px;

    border: 1px solid var(--line);
    border-radius: 18px;

    overflow: hidden;

    background: var(--surface);
}

.about-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(6,5,12,.62)
        );
}

.about-visual img {
    width: 100%;
    height: 100%;
    min-height: 470px;

    object-fit: cover;
}


/* =========================================================
   WHY
========================================================= */

.why-section {
    background: #08070d;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature-card {
    min-height: 285px;
    padding: 32px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.028),
            rgba(255,255,255,.008)
        );

    transition:
        transform .25s ease,
        background .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    background:
        linear-gradient(
            145deg,
            rgba(111,60,255,.12),
            rgba(255,255,255,.02)
        );
}

.feature-card > span {
    color: var(--purple-soft);
    font-size: .7rem;
    font-weight: 800;
}

.feature-card h3 {
    margin-top: 65px;
    margin-bottom: 14px;

    font-size: 1.25rem;
}

.feature-card p {
    color: var(--muted);
    font-size: .86rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.service-card {
    position: relative;

    min-height: 420px;

    border: 1px solid var(--line);
    border-radius: 16px;

    overflow: hidden;

    background: var(--surface);
}

.service-card img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    filter:
        saturate(.82)
        brightness(.72);

    transition:
        transform .5s ease,
        filter .4s ease;
}

.service-card:hover img {
    transform: scale(1.035);

    filter:
        saturate(1)
        brightness(.82);
}

.service-content {
    padding: 25px 28px 30px;
}

.service-content > span {
    color: var(--purple-soft);

    font-size: .67rem;
    font-weight: 800;
}

.service-content h3 {
    margin-top: 7px;

    font-size: 1.45rem;
}

.service-content p {
    margin-top: 8px;

    color: var(--muted);
    font-size: .88rem;
}


/* =========================================================
   IME
========================================================= */

.ime-section {
    padding: 125px 0;

    background:
        linear-gradient(
            135deg,
            #f7f9f8,
            #eef3f1
        );

    color: #17202a;
}

.ime-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;

    align-items: center;

    gap: 90px;
}

.ime-label {
    color: var(--ime-green);
}

.ime-brand {
    display: flex;
    align-items: baseline;

    gap: 13px;

    margin-bottom: 25px;
}

.ime-brand > span {
    color: var(--ime-blue);

    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;

    font-weight: 900;
    letter-spacing: -.07em;
}

.ime-brand small {
    color: #78817f;

    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.ime-copy h2 {
    max-width: 600px;

    color: #15243a;

    margin-bottom: 24px;
}

.ime-copy p {
    max-width: 590px;

    color: #5c6665;
}

.ime-features {
    display: grid;
    grid-template-columns: repeat(2, max-content);

    gap: 10px 25px;

    margin-top: 28px;
}

.ime-features span {
    color: #435150;

    font-size: .82rem;
    font-weight: 600;
}

.ime-button {
    display: inline-flex;
    align-items: center;

    gap: 25px;

    min-height: 53px;
    padding: 0 23px;

    margin-top: 34px;

    border-radius: 7px;

    background: var(--ime-green);

    color: #fff;

    font-size: .82rem;
    font-weight: 800;

    box-shadow:
        0 12px 28px rgba(15,118,110,.18);

    transition:
        transform .2s ease,
        background .2s ease;
}

.ime-button:hover {
    transform: translateY(-2px);
    background: #0c675f;
}

.ime-dashboard {
    position: relative;

    padding: 35px;

    border: 1px solid rgba(20,35,60,.12);
    border-radius: 17px;

    background: rgba(255,255,255,.84);

    box-shadow:
        0 30px 80px rgba(28,50,45,.12);
}

.ime-dashboard::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -60px;
    right: -55px;

    border-radius: 50%;

    background:
        rgba(15,118,110,.09);

    filter: blur(4px);
}

.ime-dashboard-top {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom: 1px solid rgba(20,35,60,.09);
}

.ime-dashboard-top div {
    display: flex;
    flex-direction: column;
}

.ime-dashboard-top small {
    color: #8b9593;

    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.ime-dashboard-top strong {
    margin-top: 5px;

    color: var(--ime-blue);

    font-size: .94rem;
}

.ime-status {
    padding: 6px 9px;

    border-radius: 5px;

    background: rgba(15,118,110,.10);
    color: var(--ime-green);

    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.ime-score-main {
    display: flex;
    align-items: flex-end;

    margin: 28px 0;
}

.ime-score-main strong {
    color: var(--ime-blue);

    font-size: clamp(4.8rem, 8vw, 7.5rem);
    line-height: .8;

    letter-spacing: -.08em;
}

.ime-score-main span {
    margin-left: 7px;

    color: #818b89;
    font-size: 1rem;
}

.ime-stage {
    margin-top: 19px;
}

.ime-stage > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 7px;
}

.ime-stage span {
    color: #56615f;
    font-size: .75rem;
}

.ime-stage strong {
    color: var(--ime-blue);
    font-size: .76rem;
}

.ime-bar {
    height: 6px;

    border-radius: 20px;

    overflow: hidden;

    background: #e3e8e6;
}

.ime-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--ime-green),
            var(--ime-green-light)
        );
}

.ime-dashboard-footer {
    margin-top: 30px;
    padding-top: 22px;

    border-top: 1px solid rgba(20,35,60,.09);

    color: #75807e;

    font-size: .75rem;
}

.ime-dashboard-footer strong {
    display: block;

    margin-top: 3px;

    color: var(--ime-blue);
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-section {
    background:
        radial-gradient(
            circle at 100% 20%,
            rgba(111,60,255,.10),
            transparent 28%
        ),
        #07060c;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.portfolio-card {
    position: relative;

    border: 1px solid var(--line);
    border-radius: 16px;

    overflow: hidden;

    background: var(--surface);

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155,124,255,.40);
}

.portfolio-card img {
    width: 100%;
    height: 330px;

    object-fit: cover;
    object-position: top;

    background: #fff;
}

.portfolio-card > div {
    padding: 22px 25px 25px;
}

.portfolio-card span {
    color: var(--purple-soft);

    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.portfolio-card h3 {
    margin-top: 4px;

    font-size: 1.25rem;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.experience-section {
    background: var(--bg-soft);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.testimonial-card {
    min-height: 365px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--line);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );
}

.testimonial-logo {
    width: 74px;
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;
    padding: 8px;

    border-radius: 11px;

    background: rgba(255,255,255,.94);
}

.testimonial-logo img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.testimonial-card p {
    flex-grow: 1;

    color: #c6c1cd;

    font-size: .94rem;
    line-height: 1.75;
}

.testimonial-card strong {
    margin-top: 30px;

    font-size: .87rem;
}

.testimonial-card > span {
    margin-top: 2px;

    color: var(--muted);
    font-size: .73rem;
}


/* =========================================================
   CLIENTS
========================================================= */

.clients-section {
    background: #f4f3f6;
    color: #15131a;
}

.clients-header {
    max-width: 780px;
    margin-bottom: 50px;
}

.clients-header .section-tag {
    color: #6c48d9;
}

.clients-header h2 {
    color: #17141e;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    border-top: 1px solid #dedce2;
    border-left: 1px solid #dedce2;
}

.client-logo {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    border-right: 1px solid #dedce2;
    border-bottom: 1px solid #dedce2;

    background: #fff;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.client-logo:hover {
    position: relative;
    z-index: 3;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(20,15,30,.10);
}

.client-logo img {
    max-width: 100%;
    max-height: 78px;

    object-fit: contain;
}


/* =========================================================
   DBVS
========================================================= */

.dbvs-section {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(111,60,255,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(54,119,255,.08),
            transparent 30%
        ),
        #080611;
}

.dbvs-grid {
    display: grid;
    grid-template-columns: 1fr .88fr;

    align-items: center;

    gap: 90px;
}

.dbvs-label {
    color: #a68aff;
}

.dbvs-copy h2 {
    max-width: 680px;

    margin-bottom: 25px;
}

.dbvs-copy p {
    max-width: 650px;

    color: #aaa5b5;
}

.dbvs-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}

.dbvs-path span {
    padding: 7px 10px;

    border: 1px solid rgba(155,124,255,.18);
    border-radius: 5px;

    background: rgba(111,60,255,.06);

    color: #c7baff;

    font-size: .67rem;
    font-weight: 700;
}

.dbvs-path strong {
    color: #635d6d;
}

.dbvs-button {
    display: inline-flex;
    align-items: center;

    gap: 25px;

    min-height: 51px;
    padding: 0 21px;

    margin-top: 34px;

    border: 1px solid rgba(155,124,255,.45);
    border-radius: 7px;

    background: rgba(111,60,255,.12);

    color: #fff;

    font-size: .78rem;
    font-weight: 800;

    transition:
        transform .2s ease,
        background .2s ease;
}

.dbvs-button:hover {
    transform: translateY(-2px);
    background: rgba(111,60,255,.22);
}

.dbvs-plans {
    display: grid;
    gap: 14px;
}

.dbvs-plan {
    padding: 27px;

    border: 1px solid var(--line);
    border-radius: 13px;

    background: rgba(255,255,255,.025);
}

.dbvs-plan-featured {
    border-color: rgba(155,124,255,.40);

    background:
        linear-gradient(
            135deg,
            rgba(111,60,255,.14),
            rgba(54,119,255,.05)
        );
}

.dbvs-plan > span {
    color: #9b7cff;

    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.dbvs-plan h3 {
    margin-top: 8px;

    font-size: 1.3rem;
}

.dbvs-plan p {
    margin-top: 9px;

    color: var(--muted);
    font-size: .82rem;
}

.dbvs-plans > small {
    margin-top: 4px;

    color: #777181;
    font-size: .68rem;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: #f5f4f6;
    color: #18151d;
}

.faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;

    gap: 90px;
}

.faq-intro {
    position: sticky;
    top: 120px;

    align-self: start;
}

.faq-intro .section-tag {
    color: #6f49df;
}

.faq-intro h2 {
    color: #18151d;
}

.faq-intro p {
    margin-top: 20px;

    color: #77717e;
}

.faq-list {
    border-top: 1px solid #d9d6dd;
}

.faq-list details {
    border-bottom: 1px solid #d9d6dd;
}

.faq-list summary {
    position: relative;

    padding: 25px 45px 25px 0;

    cursor: pointer;

    list-style: none;

    color: #242029;

    font-size: .94rem;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    position: absolute;
    right: 4px;
    top: 19px;

    color: #6f49df;

    font-size: 1.4rem;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 760px;

    padding: 0 35px 27px 0;

    color: #66606b;

    font-size: .86rem;
    line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(111,60,255,.12),
            transparent 30%
        ),
        var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;

    align-items: end;

    gap: 80px;
}

.contact-grid h2 {
    max-width: 760px;
}

.contact-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 9px;
}

.contact-data > span,
.contact-data > a {
    color: #b1acb8;

    font-size: .88rem;
}

.contact-data > a:hover {
    color: #fff;
}

.social-links {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.social-item {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255,255,255,.04);
}

.social-item img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 55px 0 24px;

    border-top: 1px solid var(--line);

    background: #040308;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 50px;

    padding-bottom: 45px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 14px;
}

.footer-brand img {
    width: 50px;
    height: 50px;

    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    letter-spacing: .15em;
}

.footer-brand span {
    margin-top: 5px;

    color: var(--muted);

    font-size: .66rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 18px;
}

.footer-nav a {
    color: var(--muted);

    font-size: .72rem;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 22px;

    border-top: 1px solid var(--line);

    color: #686371;

    font-size: .65rem;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: .68rem;
    }

    .brand-text span {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 900px) {

    .container {
        width: min(var(--max), calc(100% - 34px));
    }

    section {
        padding: 85px 0;
    }

    .site-header {
        position: absolute;
    }

    .main-nav {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .header-cta {
        font-size: .66rem;
        padding: 0 12px;
    }

    .hero {
        min-height: 760px;
        padding-top: 125px;
    }

    .hero-background {
        background-position: 70% 42%;
        background-size: 720px;

        opacity: .18;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,4,10,.98),
                rgba(5,4,10,.82)
            );
    }

    .about-grid,
    .ime-grid,
    .dbvs-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual,
    .about-visual img {
        min-height: 380px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: 320px;
    }

    .faq-intro {
        position: static;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
    }

}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }

    section {
        padding: 70px 0;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-text strong {
        font-size: .76rem;
    }

    .header-cta {
        min-height: 38px;
        max-width: 145px;

        text-align: center;
        line-height: 1.2;
    }

    .hero {
        min-height: 730px;
        padding-top: 115px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 15vw, 5rem);
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-tags {
        margin-top: 30px;
    }

    .hero-scroll {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 230px;
    }

    .feature-card h3 {
        margin-top: 38px;
    }

    .service-card {
        min-height: auto;
    }

    .service-card img {
        height: 210px;
    }

    .ime-section {
        padding: 75px 0;
    }

    .ime-features {
        grid-template-columns: 1fr;
    }

    .ime-button {
        width: 100%;
        justify-content: space-between;
    }

    .ime-dashboard {
        padding: 24px 20px;
    }

    .ime-dashboard-top {
        flex-direction: column;
    }

    .ime-score-main strong {
        font-size: 5.2rem;
    }

    .portfolio-card img {
        height: 230px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-logo {
        min-height: 125px;
        padding: 18px;
    }

    .dbvs-path {
        gap: 6px;
    }

    .dbvs-path span {
        font-size: .59rem;
    }

    .dbvs-button {
        width: 100%;
        justify-content: space-between;
    }

    .contact-grid {
        align-items: start;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        width: 100%;
    }

}


@media (max-width: 390px) {

    .brand-text {
        display: none;
    }

    .header-cta {
        max-width: 165px;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

}

/* =========================================================
   CORRECCIÓN 3
   RESPONSIVE / ABOUT / SERVICIOS / BACK TO TOP
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    margin: 0;
    padding: 0;
}

.container {
    width: 94%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

section,
header,
main,
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   ABOUT - UNA SOLA IMAGEN
========================================================= */

.about-single-image {
    min-height: 460px;
    height: 460px;

    border-radius: 18px;
    overflow: hidden;

    border: 1px solid var(--line);
    background: #0c0a12;
}

.about-single-image::after {
    content: none !important;
}

.about-single-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* =========================================================
   SERVICIOS
========================================================= */

.service-content p {
    line-height: 1.75;
}

.service-card {
    height: auto;
}


/* =========================================================
   VOLVER ARRIBA
========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1500;

    border: 1px solid rgba(155,124,255,.4);
    border-radius: 50%;

    background: rgba(10,8,18,.88);
    backdrop-filter: blur(10px);

    color: #fff;

    font-size: 1.2rem;
    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0,0,0,.3);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);

    background: rgba(111,60,255,.25);
    border-color: rgba(155,124,255,.85);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .container {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    .about-single-image {
        height: 380px;
        min-height: 380px;
    }

}


@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    .container {
        width: calc(100% - 24px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero,
    .about-section,
    .why-section,
    .services-section,
    .ime-section,
    .portfolio-section,
    .experience-section,
    .clients-section,
    .dbvs-section,
    .faq-section,
    .contact-section {
        width: 100%;
        max-width: 100%;
    }

    .about-grid,
    .services-grid,
    .ime-grid,
    .portfolio-grid,
    .testimonial-grid,
    .clients-grid,
    .dbvs-grid,
    .faq-grid,
    .contact-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-single-image {
        width: 100%;
        height: 300px;
        min-height: 300px;
    }

    .about-single-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;

        width: 42px;
        height: 42px;
    }

}


@media (max-width: 390px) {

    .container {
        width: calc(100% - 20px);
    }

}

/* =========================================================
   MEJORA VISUAL - EXPLORAR + VOLVER ARRIBA
========================================================= */

/* EXPLORAR DI-BELLUM */

.scroll-indicator,
.hero-scroll,
.explore-link {
    opacity: 1 !important;
    color: #ffffff !important;
}

.scroll-indicator a,
.hero-scroll a,
.explore-link {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: .12em;
    text-shadow:
        0 0 8px rgba(255,255,255,.35),
        0 0 18px rgba(137,80,255,.55);
}

.scroll-indicator span,
.hero-scroll span,
.scroll-indicator svg,
.hero-scroll svg {
    opacity: 1 !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 7px rgba(143,85,255,.8));
}


/* BOTÓN VOLVER ARRIBA */

.back-to-top {
    width: 52px !important;
    height: 52px !important;

    background: rgba(74, 30, 145, .95) !important;

    border: 2px solid rgba(205, 175, 255, .9) !important;

    color: #ffffff !important;

    font-size: 1.45rem !important;
    font-weight: 800 !important;

    box-shadow:
        0 0 12px rgba(141, 78, 255, .55),
        0 0 28px rgba(141, 78, 255, .28),
        0 8px 25px rgba(0,0,0,.45) !important;

    opacity: 1 !important;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.06) !important;

    background: rgba(105, 52, 190, 1) !important;

    border-color: #ffffff !important;

    box-shadow:
        0 0 16px rgba(180, 135, 255, .8),
        0 0 35px rgba(141, 78, 255, .45),
        0 10px 30px rgba(0,0,0,.5) !important;
}


/* MOBILE */

@media (max-width: 600px) {

    .back-to-top {
        width: 48px !important;
        height: 48px !important;

        right: 16px !important;
        bottom: 16px !important;

        font-size: 1.3rem !important;
    }

    .scroll-indicator a,
    .hero-scroll a,
    .explore-link {
        font-size: .78rem !important;
    }

}


/* =========================================================
   CORRECCIÓN 4
   HERO VIEWPORT + IME CONSISTENTE + EXPLORAR
========================================================= */


/* =========================================================
   HERO COMPLETO EN PRIMERA PANTALLA
========================================================= */

.hero {
    min-height: 100svh !important;
    height: auto !important;

    padding-top: 100px !important;
    padding-bottom: 76px !important;

    align-items: flex-start !important;
}

.hero-layout {
    padding-top: 28px;
}

.hero-copy {
    max-width: 900px;
}

.hero-eyebrow {
    margin-bottom: 20px !important;
}

.hero h1 {
    font-size: clamp(3.4rem, 6.3vw, 6.4rem) !important;
    line-height: 1 !important;

    overflow: visible !important;

    padding-bottom: .08em;
}

.hero h1 span {
    line-height: 1.08 !important;

    padding-bottom: .12em;

    overflow: visible !important;
}

.hero-lead {
    margin-top: 25px !important;
    line-height: 1.6 !important;
}

.hero-secondary {
    margin-top: 8px !important;
}

.hero-actions {
    margin-top: 25px !important;
}

.hero-tags {
    margin-top: 27px !important;
}


/* =========================================================
   EXPLORAR DI-BELLUM
========================================================= */

.hero-scroll {
    left: 50% !important;
    bottom: 15px !important;

    transform: translateX(-50%) !important;

    min-width: 190px;

    padding: 9px 18px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    border: 1px solid rgba(190,155,255,.72) !important;
    border-radius: 999px !important;

    background:
        rgba(73,29,143,.88) !important;

    color: #ffffff !important;

    box-shadow:
        0 0 12px rgba(141,78,255,.45),
        0 0 28px rgba(141,78,255,.20),
        0 8px 24px rgba(0,0,0,.32) !important;

    backdrop-filter: blur(12px);

    font-size: .66rem !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;

    opacity: 1 !important;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.hero-scroll:hover {
    transform:
        translateX(-50%)
        translateY(-3px) !important;

    background:
        rgba(105,52,190,.96) !important;

    box-shadow:
        0 0 17px rgba(180,135,255,.70),
        0 0 35px rgba(141,78,255,.35),
        0 10px 30px rgba(0,0,0,.40) !important;
}

.hero-scroll span {
    color: #ffffff !important;
    opacity: 1 !important;
}

.hero-scroll strong {
    color: #ffffff !important;
    font-size: 1rem !important;
}


/* =========================================================
   TARJETA IME - MISMA LOGICA VISUAL DEL IME REAL
========================================================= */

.ime-dashboard-real {
    overflow: hidden;
}

.ime-example-header {
    padding-bottom: 22px;

    border-bottom:
        1px solid rgba(20,35,60,.10);
}

.ime-example-header h3 {
    color: var(--ime-blue);

    font-size: 1rem;
    font-weight: 800;
}

.ime-example-header span {
    display: block;

    margin-top: 5px;

    color: #818b89;

    font-size: .67rem;
}

.ime-example-result {
    margin-top: 28px;
}

.ime-example-label {
    display: block;

    color: #77817f;

    font-size: .69rem;
    font-weight: 700;
}

.ime-example-score {
    margin-top: 7px;

    color: var(--ime-blue);

    font-size: clamp(4.8rem, 8vw, 7rem);
    font-weight: 900;
    line-height: .92;

    letter-spacing: -.07em;
}

.ime-example-score span {
    margin-left: 5px;

    color: #7a8583;

    font-size: 1.7rem;
    font-weight: 500;
}

.ime-example-metrics {
    margin-top: 30px;

    display: grid;

    gap: 18px;
}

.ime-example-metric strong {
    display: block;

    margin-bottom: 7px;

    color: #45514f;

    font-size: .76rem;
}

.ime-example-bar {
    width: 100%;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #e1e7e4;
}

.ime-example-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--ime-green),
            var(--ime-green-light)
        );
}

.ime-example-message {
    margin-top: 30px;
    padding-top: 22px;

    border-top:
        1px solid rgba(20,35,60,.10);
}

.ime-example-message span {
    display: block;

    color: #697472;

    font-size: .76rem;
}

.ime-example-message strong {
    display: block;

    margin-top: 4px;

    color: var(--ime-blue);

    font-size: .82rem;
}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 100svh !important;

        padding-top: 88px !important;
        padding-bottom: 76px !important;
    }

    .hero-layout {
        padding-top: 15px;
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 5rem) !important;
        line-height: 1.02 !important;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 100svh !important;

        padding-top: 82px !important;
        padding-bottom: 72px !important;
    }

    .hero-layout {
        padding-top: 8px;
    }

    .hero-eyebrow {
        margin-bottom: 14px !important;

        font-size: .57rem !important;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem) !important;
        line-height: 1.01 !important;

        padding-bottom: .12em;
    }

    .hero h1 span {
        line-height: 1.1 !important;

        padding-bottom: .15em;
    }

    .hero-lead {
        margin-top: 18px !important;

        font-size: .92rem !important;
        line-height: 1.5 !important;
    }

    .hero-secondary {
        font-size: .78rem !important;
    }

    .hero-actions {
        margin-top: 19px !important;
    }

    .hero-tags {
        margin-top: 20px !important;

        gap: 6px !important;
    }

    .hero-tags span {
        padding: 5px 8px !important;

        font-size: .57rem !important;
    }

    .hero-scroll {
        display: flex !important;

        bottom: 10px !important;

        min-width: 175px;

        padding: 8px 14px !important;

        font-size: .59rem !important;
    }

}


@media (max-height: 760px) and (min-width: 601px) {

    .hero {
        padding-top: 88px !important;
        padding-bottom: 65px !important;
    }

    .hero-layout {
        padding-top: 8px;
    }

    .hero h1 {
        font-size: clamp(3rem, 5.6vw, 5.4rem) !important;
    }

    .hero-lead {
        margin-top: 18px !important;
    }

    .hero-tags {
        margin-top: 18px !important;
    }

}
