:root {
    --bg: #ffffff;
    --surface: #f5f7fa;
    --surface-2: #eef1f5;
    --text: #111827;
    --muted: #667085;
    --border: #dfe3e8;
    --dark: #111827;
    --dark-2: #1c2433;
    --accent: #2563eb;
    --accent-2: #1d4ed8;
    --radius: 22px;
    --shadow: 0 18px 55px rgba(17, 24, 39, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(820px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(223, 227, 232, .9);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--dark);
    color: white;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav > a {
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    font: inherit;
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid var(--accent);
    transition: .2s ease;
}

.button:hover {
    background: var(--accent-2);
}

.button-small {
    min-height: 42px;
    padding: 0 16px;
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button-light {
    background: white;
    color: var(--dark);
    border-color: white;
}

.hero {
    padding: 90px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.eyebrow-light {
    color: #93c5fd;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

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

h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: -.02em;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.app-preview {
    display: flex;
    justify-content: center;
}

.phone {
    width: min(350px, 100%);
    padding: 12px;
    border-radius: 38px;
    background: #151b27;
    box-shadow: var(--shadow);
}

.phone-top {
    width: 100px;
    height: 22px;
    margin: 0 auto 8px;
    border-radius: 0 0 16px 16px;
    background: #151b27;
}

.phone-screen {
    min-height: 570px;
    padding: 23px;
    border-radius: 29px;
    background:
        linear-gradient(
            145deg,
            #f7f9fc 0%,
            #ffffff 55%,
            #eef4ff 100%
        );
}

.mini-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.mini-header span {
    color: var(--muted);
    font-size: 13px;
}

.status-card {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
    padding: 22px;
    border-radius: 20px;
    background: var(--dark);
    color: white;
}

.status-card small,
.status-card span {
    color: #bdc7d6;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-grid div {
    min-height: 86px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: white;
    font-weight: 750;
}

.section {
    padding: 95px 0;
}

.section-alt {
    background: var(--surface);
}

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

.section-heading {
    max-width: 790px;
    margin-bottom: 45px;
}

.section-heading > p {
    max-width: 690px;
    color: var(--muted);
    font-size: 18px;
}

.section-dark p {
    color: #c9d1dc;
}

.cards {
    display: grid;
    gap: 20px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
}

.card-number {
    display: block;
    margin-bottom: 35px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.module-card {
    min-height: 225px;
    padding: 25px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
}

.module-card > span {
    display: block;
    margin-bottom: 45px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.profile-section p {
    max-width: 590px;
    color: var(--muted);
    font-size: 17px;
}

.profile-panel {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--dark);
    color: white;
}

.profile-panel > div {
    display: grid;
    gap: 4px;
    margin-bottom: 28px;
}

.profile-panel small {
    color: #93c5fd;
}

.profile-panel ul {
    margin: 0;
    padding-left: 20px;
    color: #d8dee8;
}

.profile-panel li {
    padding: 5px 0;
}

.carta-preview {
    padding: 28px;
    border-radius: 26px;
    background: white;
    color: var(--text);
}

.carta-top {
    display: grid;
    gap: 5px;
    margin-bottom: 25px;
}

.carta-top span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.carta-top strong {
    font-size: 26px;
}

.dish-row {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.dish-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.dish-photo {
    width: 86px;
    height: 86px;
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            #d6a76c,
            #6f3f24
        );
}

.dish-photo.second {
    background:
        linear-gradient(
            135deg,
            #98c79b,
            #314e3c
        );
}

.steps {
    display: grid;
    gap: 4px;
}

.step {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 25px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.step > span {
    color: var(--accent);
    font-weight: 850;
}

.step p {
    margin: 4px 0 0;
    color: var(--muted);
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-list span {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 700;
    font-size: 14px;
}

details {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 18px;
}

details p {
    margin: 15px 0 0;
    color: var(--muted);
}

.final-cta {
    padding: 90px 0;
    background: var(--accent);
    color: white;
    text-align: center;
}

.final-cta .container {
    max-width: 800px;
}

.final-cta p {
    margin-bottom: 30px;
    color: #dbeafe;
    font-size: 18px;
}

.site-footer {
    padding: 50px 0 25px;
    background: var(--dark);
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-grid p {
    color: #9da8b8;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d8dee8;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid #2c3441;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8f9aaa;
    font-size: 13px;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 72px;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: white;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .nav.is-open {
        display: flex;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .cards.three {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding-top: 65px;
    }
}

@media (max-width: 600px) {

    .container,
    .narrow {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        padding: 55px 0 65px;
    }

    h1 {
        font-size: 51px;
    }

    h2 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

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

    .module-card {
        min-height: auto;
    }

    .module-card > span {
        margin-bottom: 25px;
    }

    .phone-screen {
        min-height: 500px;
    }

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

.section-dark .carta-demo-button {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .45);
}

.section-dark .carta-demo-button:hover {
    background: rgba(255, 255, 255, .08);
}

/* DRAGONOA_CARTA_DEMO_BUTTON_VISIBILITY_V2 */
.section-dark a.carta-demo-button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
}

.section-dark a.carta-demo-button:hover {
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
}

/* DRAGONOA_CARTA_DEMO_BUTTON_VISIBILITY_V2 */
.section-dark a.carta-demo-button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
}

.section-dark a.carta-demo-button:hover {
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
}

/* DRAGONOA_REAL_INTERFACE_HERO_V2 */

.hero-product-showcase {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 26px;
    box-shadow:
        0 30px 80px rgba(15, 35, 70, .18),
        0 10px 28px rgba(15, 35, 70, .10);
}

@media (min-width: 1100px) {
    .hero-product-showcase {
        max-width: 610px;
        transform: translateY(10px);
    }
}

@media (max-width: 980px) {
    .hero-product-showcase {
        max-width: 580px;
        margin-top: 32px;
    }
}

@media (max-width: 640px) {
    .hero-product-showcase {
        max-width: 100%;
        margin-top: 24px;
    }

    .hero-product-showcase-image {
        border-radius: 18px;
    }
}


/* DRAGONOA_THREE_REAL_PHONES_HERO_V1 */

.hero-phone-showcase {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 610px;
    margin: 0 auto;
    display: block;
}

.hero-phone {
    position: absolute;
    top: 50%;
    transform-origin: center center;
}

.hero-phone-shell {
    position: relative;
    overflow: hidden;
    background: #050b13;
    border: 7px solid #111827;
    border-radius: 38px;
    box-shadow:
        0 30px 60px rgba(5, 15, 35, .22),
        0 12px 28px rgba(5, 15, 35, .18),
        inset 0 0 0 2px rgba(255, 255, 255, .06);
}

.hero-phone-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    pointer-events: none;
    z-index: 3;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-phone-shell img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-phone-speaker {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 50%;
    width: 58px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(3, 7, 18, .82);
    opacity: .82;
}

.hero-phone-center {
    z-index: 3;
    left: 50%;
    width: 272px;
    transform:
        translate(-50%, -50%);
}

.hero-phone-left {
    z-index: 2;
    left: 4%;
    width: 226px;
    transform:
        translateY(-48%)
        rotate(-5deg);
}

.hero-phone-right {
    z-index: 2;
    right: 4%;
    width: 226px;
    transform:
        translateY(-48%)
        rotate(5deg);
}

.hero-phone-center .hero-phone-shell {
    box-shadow:
        0 38px 72px rgba(5, 15, 35, .26),
        0 16px 34px rgba(5, 15, 35, .18);
}

@media (min-width: 1200px) {
    .hero-phone-showcase {
        max-width: 760px;
        height: 640px;
    }

    .hero-phone-center {
        width: 286px;
    }

    .hero-phone-left,
    .hero-phone-right {
        width: 238px;
    }
}

@media (max-width: 1050px) {
    .hero-phone-showcase {
        max-width: 650px;
        height: 570px;
    }

    .hero-phone-center {
        width: 250px;
    }

    .hero-phone-left,
    .hero-phone-right {
        width: 205px;
    }
}

@media (max-width: 760px) {
    .hero-phone-showcase {
        max-width: 540px;
        height: 500px;
        margin-top: 24px;
    }

    .hero-phone-center {
        width: 218px;
    }

    .hero-phone-left {
        left: 1%;
        width: 174px;
    }

    .hero-phone-right {
        right: 1%;
        width: 174px;
    }

    .hero-phone-shell {
        border-width: 5px;
        border-radius: 30px;
    }

    .hero-phone-speaker {
        width: 44px;
        height: 5px;
    }
}

@media (max-width: 520px) {
    .hero-phone-showcase {
        width: calc(100% + 20px);
        max-width: none;
        height: 410px;
        margin-left: -10px;
        overflow: hidden;
    }

    .hero-phone-center {
        width: 184px;
    }

    .hero-phone-left {
        left: -27px;
        width: 146px;
        transform:
            translateY(-48%)
            rotate(-5deg);
    }

    .hero-phone-right {
        right: -27px;
        width: 146px;
        transform:
            translateY(-48%)
            rotate(5deg);
    }

    .hero-phone-shell {
        border-width: 4px;
        border-radius: 26px;
    }
}


/* DRAGONOA_THREE_PHONES_VISUAL_FIX_V2 */

.hero-phone-showcase {
    position: relative !important;
    width: 620px !important;
    max-width: 620px !important;
    height: 560px !important;
    margin: 0 auto !important;
    overflow: visible !important;
    display: block !important;
}

.hero-phone-showcase .hero-phone {
    position: absolute !important;
    top: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform-origin: center center !important;
}

.hero-phone-showcase .hero-phone-shell {
    position: relative !important;
    overflow: hidden !important;
    background: #050b13 !important;
    border: 6px solid #111827 !important;
    border-radius: 34px !important;
    box-sizing: border-box !important;
}

.hero-phone-showcase .hero-phone-shell img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.hero-phone-showcase .hero-phone-center {
    left: 50% !important;
    right: auto !important;
    width: 248px !important;
    z-index: 5 !important;

    transform:
        translate(-50%, -52%)
        scale(1.03) !important;
}

.hero-phone-showcase .hero-phone-left {
    left: 0 !important;
    right: auto !important;
    width: 198px !important;
    z-index: 2 !important;

    transform:
        translate(16px, -47%)
        rotate(-6deg) !important;
}

.hero-phone-showcase .hero-phone-right {
    right: 0 !important;
    left: auto !important;
    width: 198px !important;
    z-index: 2 !important;

    transform:
        translate(-16px, -47%)
        rotate(6deg) !important;
}

.hero-phone-showcase .hero-phone-center .hero-phone-shell {
    box-shadow:
        0 34px 70px rgba(5, 15, 35, .30),
        0 16px 34px rgba(5, 15, 35, .20) !important;
}

.hero-phone-showcase .hero-phone-left .hero-phone-shell,
.hero-phone-showcase .hero-phone-right .hero-phone-shell {
    box-shadow:
        0 24px 50px rgba(5, 15, 35, .20),
        0 10px 22px rgba(5, 15, 35, .15) !important;
}

.hero-phone-showcase .hero-phone-speaker {
    display: none !important;
}

/*
 * Tablet:
 * mantener los tres teléfonos, pero más compactos.
 */
@media (max-width: 1050px) {

    .hero-phone-showcase {
        width: 540px !important;
        max-width: 540px !important;
        height: 500px !important;
    }

    .hero-phone-showcase .hero-phone-center {
        width: 218px !important;
    }

    .hero-phone-showcase .hero-phone-left,
    .hero-phone-showcase .hero-phone-right {
        width: 170px !important;
    }
}

/*
 * Mobile:
 * siguen viéndose los tres.
 * El central queda protagonista y los laterales asoman.
 */
@media (max-width: 640px) {

    .hero-phone-showcase {
        width: 100% !important;
        max-width: 430px !important;
        height: 430px !important;
        overflow: hidden !important;
        margin: 18px auto 0 !important;
    }

    .hero-phone-showcase .hero-phone-center {
        width: 190px !important;

        transform:
            translate(-50%, -50%)
            scale(1.02) !important;
    }

    .hero-phone-showcase .hero-phone-left {
        left: -36px !important;
        width: 148px !important;

        transform:
            translateY(-45%)
            rotate(-5deg) !important;
    }

    .hero-phone-showcase .hero-phone-right {
        right: -36px !important;
        width: 148px !important;

        transform:
            translateY(-45%)
            rotate(5deg) !important;
    }
}


/* DRAGON_CARTA_LIVE_SHOWCASE_V1 */

.carta-live-showcase {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carta-live-phone {
    position: relative;
    width: 330px;
    height: 650px;
    overflow: hidden;

    background: #080d16;

    border:
        7px solid
        rgba(255, 255, 255, .14);

    border-radius: 42px;

    box-shadow:
        0 34px 80px rgba(0, 0, 0, .34),
        0 12px 30px rgba(0, 0, 0, .24),
        inset 0 0 0 1px
        rgba(255, 255, 255, .08);
}

.carta-live-phone::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;

    border-radius: 34px;

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, .08);
}

.carta-live-phone-speaker {
    position: absolute;
    z-index: 10;

    top: 9px;
    left: 50%;

    width: 64px;
    height: 7px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background:
        rgba(3, 7, 14, .82);

    pointer-events: none;
}

.carta-live-frame {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #ffffff;
}

.carta-live-caption {
    margin-top: 16px;

    font-size: .82rem;
    font-weight: 700;

    color:
        rgba(255, 255, 255, .72);

    letter-spacing: .02em;
}

@media (max-width: 760px) {

    .carta-live-phone {
        width: min(
            330px,
            calc(100vw - 48px)
        );

        height: 620px;
    }
}

@media (max-width: 420px) {

    .carta-live-phone {
        width: min(
            310px,
            calc(100vw - 36px)
        );

        height: 590px;

        border-radius: 36px;
    }
}


/* ==========================================================
   DRAGON_CARTA_DUAL_LIVE_SHOWCASE_V1
   ========================================================== */

.dragon-carta-commercial-v2 {
    overflow: hidden;
}

.dragon-carta-heading-v2 {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.dragon-carta-heading-v2 h2 {
    margin-bottom: 18px;
}

.dragon-carta-heading-v2 p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.dragon-carta-heading-v2 .hero-actions {
    justify-content: center;
}


/* ----------------------------------------------------------
   DUAL DEMO
   ---------------------------------------------------------- */

.dragon-carta-dual-preview-v2 {
    width: 100%;
    max-width: 920px;

    margin:
        0 auto
        84px;

    display: grid;

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

    gap: 72px;

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

.dragon-carta-demo-column-v2,
.dragon-carta-client-column-v2 {
    display: flex;

    flex-direction: column;

    align-items: center;

    min-width: 0;
}

.dragon-carta-preview-label-v2 {
    min-height: 118px;

    margin-bottom: 22px;

    text-align: center;
}

.dragon-carta-preview-label-v2 span {
    display: block;

    margin-bottom: 8px;

    font-size: .72rem;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;

    color: #67b7ff;
}

.dragon-carta-preview-label-v2 strong {
    display: block;

    margin-bottom: 8px;

    font-size: 1.25rem;
    line-height: 1.2;

    color: #ffffff;
}

.dragon-carta-preview-label-v2 p {
    max-width: 320px;

    margin: 0 auto;

    font-size: .92rem;
    line-height: 1.55;

    color:
        rgba(255, 255, 255, .68);
}


/* ----------------------------------------------------------
   PHONE
   ---------------------------------------------------------- */

.dragon-carta-phone-v2 {
    position: relative;

    width: 330px;
    height: 650px;

    overflow: hidden;

    background: #090e17;

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

    border-radius: 42px;

    box-shadow:
        0 36px 80px rgba(0, 0, 0, .36),
        0 14px 34px rgba(0, 0, 0, .24),
        inset 0 0 0 1px
        rgba(255, 255, 255, .08);

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

.dragon-carta-phone-v2:hover {
    transform: translateY(-4px);

    box-shadow:
        0 42px 90px rgba(0, 0, 0, .40),
        0 18px 38px rgba(0, 0, 0, .26);
}

.dragon-carta-phone-client-v2 {
    transform:
        translateY(-12px);

    box-shadow:
        0 42px 94px rgba(0, 0, 0, .42),
        0 18px 40px rgba(0, 0, 0, .28),
        0 0 0 1px
        rgba(96, 165, 250, .10);
}

.dragon-carta-phone-client-v2:hover {
    transform:
        translateY(-16px);
}

.dragon-carta-phone-v2::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 5;

    pointer-events: none;

    border-radius: 34px;

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, .08);
}

.dragon-carta-phone-speaker-v2 {
    position: absolute;

    z-index: 10;

    top: 9px;
    left: 50%;

    width: 62px;
    height: 7px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background:
        rgba(3, 7, 14, .82);

    pointer-events: none;
}

.dragon-carta-frame-v2 {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: #ffffff;
}


/* ----------------------------------------------------------
   CAPABILITIES
   ---------------------------------------------------------- */

.dragon-carta-capabilities-v2 {
    width: 100%;

    padding-top: 12px;
}

.dragon-carta-capabilities-heading-v2 {
    max-width: 760px;

    margin:
        0 auto
        38px;

    text-align: center;
}

.dragon-carta-capabilities-heading-v2 h3 {
    margin:
        10px 0
        14px;

    font-size:
        clamp(
            1.75rem,
            3vw,
            2.55rem
        );

    line-height: 1.1;

    color: #ffffff;
}

.dragon-carta-capabilities-heading-v2 p {
    max-width: 650px;

    margin:
        0 auto;

    color:
        rgba(255, 255, 255, .68);
}

.dragon-carta-feature-grid-v2 {
    display: grid;

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

    gap: 16px;
}

.dragon-carta-feature-v2 {
    min-height: 190px;

    padding: 24px;

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

    border-radius: 20px;

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

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .04);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.dragon-carta-feature-v2:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(103, 183, 255, .34);

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

.dragon-carta-feature-code-v2 {
    display: inline-flex;

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

    min-width: 50px;

    margin-bottom: 20px;

    padding:
        7px 10px;

    border-radius: 10px;

    background:
        rgba(47, 107, 255, .14);

    color: #77bdff;

    font-size: .7rem;
    font-weight: 900;

    letter-spacing: .08em;
}

.dragon-carta-feature-v2 h4 {
    margin:
        0 0
        9px;

    font-size: 1.04rem;

    color: #ffffff;
}

.dragon-carta-feature-v2 p {
    margin: 0;

    font-size: .88rem;
    line-height: 1.55;

    color:
        rgba(255, 255, 255, .64);
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 980px) {

    .dragon-carta-dual-preview-v2 {
        max-width: 760px;

        gap: 34px;
    }

    .dragon-carta-phone-v2 {
        width: 300px;
        height: 610px;
    }

    .dragon-carta-feature-grid-v2 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


@media (max-width: 720px) {

    .dragon-carta-heading-v2 {
        margin-bottom: 44px;

        text-align: left;
    }

    .dragon-carta-heading-v2 p {
        margin-left: 0;
    }

    .dragon-carta-heading-v2 .hero-actions {
        justify-content: flex-start;
    }

    .dragon-carta-dual-preview-v2 {
        grid-template-columns: 1fr;

        gap: 54px;

        margin-bottom: 70px;
    }

    .dragon-carta-preview-label-v2 {
        min-height: auto;
    }

    .dragon-carta-phone-v2 {
        width:
            min(
                330px,
                calc(100vw - 50px)
            );

        height: 620px;
    }

    .dragon-carta-phone-client-v2 {
        transform: none;
    }

    .dragon-carta-phone-client-v2:hover {
        transform:
            translateY(-4px);
    }
}


@media (max-width: 520px) {

    .dragon-carta-feature-grid-v2 {
        grid-template-columns: 1fr;
    }

    .dragon-carta-feature-v2 {
        min-height: 0;
    }
}


/* DRAGONOA_PUBLIC_HEADER_LOGO_V1 */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    border-radius: 11px;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 10px;
    }
}


/* DRAGONOA_SEO_HERO_BRAND_LINE_V1 */

.hero-brand-line {
    margin:
        16px 0
        10px;

    font-size:
        clamp(
            1.05rem,
            2vw,
            1.28rem
        );

    font-weight: 800;
    line-height: 1.3;

    color: var(--text);
}


/* DRAGONOA_PUBLIC_CONTACT_STYLE_V1 */

.public-contact {
    margin-top: 18px;
    display: flex;
    gap: 10px 16px;
    align-items: center;
    flex-wrap: wrap;
}

.public-contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* DRAGONOA_CARTA_KNOW_MORE_BUTTON_VISIBLE_V1
   Corrige exclusivamente el botón SEO interno
   "Conocer DragóN Carta" sobre fondo oscuro.
*/

#carta a.button.button-secondary[href="carta-digital-restaurantes/"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;

    border-color: rgba(255, 255, 255, 0.65);
    background: transparent;
}

#carta a.button.button-secondary[href="carta-digital-restaurantes/"]:visited {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

#carta a.button.button-secondary[href="carta-digital-restaurantes/"]:hover,
#carta a.button.button-secondary[href="carta-digital-restaurantes/"]:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}


/* DRAGONOA_CARTA_BUTTON_HARD_FIX_V2 */

#carta .carta-seo-button,
#carta .carta-seo-button:link,
#carta .carta-seo-button:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    opacity: 1 !important;
    visibility: visible !important;

    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.65) !important;

    font-weight: 700 !important;
    text-decoration: none !important;
}

#carta .carta-seo-button:hover,
#carta .carta-seo-button:focus,
#carta .carta-seo-button:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    background: rgba(255,255,255,0.10) !important;
    border-color: #ffffff !important;
}
