/* ==========================================================================
   EasyModePOS - redesigned layout (teal + orange)
   Used by pages rendered through shared/modern/*. The older pages still use
   css/bootstrap.min.css + css/style.css.
   ========================================================================== */

:root {
    --teal-900: #0b3b3a;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --teal-50: #effcf9;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --orange-50: #fff4ea;

    --ink: #0f2a2e;
    --body: #40575b;
    --muted: #5d7377;
    --line: #dfeae8;
    --bg: #fbfdfc;
    --tint: #f1f8f6;
    --card: #ffffff;

    --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(15, 42, 46, .05), 0 4px 14px rgba(15, 42, 46, .05);
    --shadow: 0 2px 4px rgba(15, 42, 46, .04), 0 18px 40px rgba(15, 42, 46, .09);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 5.4vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 800;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin: 0;
}

ul,
ol,
dl,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: var(--teal-700);
}

img,
svg {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
}

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

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

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .9em 1.5em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 600 1rem/1.2 var(--font-heading);
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}

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

.btn .icon {
    transition: transform .2s var(--ease);
}

.btn:hover .icon:last-child {
    transform: translateX(3px);
}

.btn-sm {
    padding: .7em 1.2em;
    font-size: .92rem;
}

/* Dark ink on orange: readable where white on orange is not */
.btn-primary {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
    color: #2b1202;
    box-shadow: 0 8px 22px rgba(249, 115, 22, .32);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(249, 115, 22, .42);
}

.btn-ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--teal-500);
}

.btn-whatsapp {
    background: transparent;
    border-color: rgba(15, 118, 110, .3);
    color: var(--teal-700);
}

.btn-whatsapp:hover {
    background: var(--teal-50);
}

.btn-light {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s, opacity .2s;
}

.icon-btn:hover {
    border-color: var(--teal-500);
}

.icon-btn:disabled {
    opacity: .35;
    cursor: default;
}

/* ---------- Shared bits ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .35em .9em;
    border-radius: 999px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    color: var(--teal-700);
    font: 600 .82rem/1.4 var(--font-heading);
    letter-spacing: .02em;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--body);
}

.badge {
    display: inline-block;
    padding: .25em .75em;
    border-radius: 999px;
    background: var(--orange-50);
    color: #9a3412;
    font: 600 .76rem/1.5 var(--font-heading);
    letter-spacing: .02em;
}

.badge-solid {
    background: var(--teal-700);
    color: #fff;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.check-list {
    display: grid;
    gap: .7em;
}

.check-list li {
    display: flex;
    gap: .7em;
    align-items: flex-start;
    color: var(--ink);
}

.check-list .icon {
    margin-top: .22em;
    padding: 3px;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-700);
    stroke-width: 3;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips li {
    padding: .4em .9em;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
}

.section {
    padding-block: clamp(64px, 9vw, 116px);
}

.section-tint {
    background: var(--tint);
}

.section-head {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    text-align: center;
}

.section-head-left {
    justify-items: start;
    margin-inline: 0;
    margin-bottom: 28px;
    text-align: left;
}

.section-more {
    margin-top: 32px;
    text-align: center;
}

/* ---------- Scroll reveals (only once JS is known to run) ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(251, 253, 252, .72);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .86);
    border-color: var(--line);
    box-shadow: 0 6px 24px rgba(15, 42, 46, .06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
    transition: height .3s var(--ease);
}

.is-scrolled .header-inner {
    height: 62px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font: 800 1.2rem/1 var(--font-heading);
    letter-spacing: -.02em;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    transition: width .3s var(--ease), height .3s var(--ease);
}

.is-scrolled .brand img {
    width: 34px;
    height: 34px;
}

.brand b {
    color: var(--teal-600);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

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

.nav-links a {
    display: block;
    padding: .5em .85em;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 500;
    font-size: .96rem;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.nav-links a:hover,
.nav-links a[aria-current] {
    background: var(--teal-50);
    color: var(--teal-700);
}

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

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.lang-switch a {
    padding: .3em .7em;
    border-radius: 999px;
    color: var(--muted);
    font: 600 .8rem/1.4 var(--font-heading);
    text-decoration: none;
}

.lang-switch a[aria-current] {
    background: var(--teal-700);
    color: #fff;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon {
    width: 22px;
    height: 22px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: inline;
}

@media (max-width: 940px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        inset: 100% 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin: 0;
        padding: 16px 20px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(15, 42, 46, .1);
    }

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

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        padding: .8em 1em;
        font-size: 1.05rem;
    }

    .nav-actions {
        justify-content: space-between;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(48px, 7vw, 96px);
    overflow: hidden;
}

/* Soft colour blobs: plain radial gradients, no blur filter to paint */
.blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.blob-teal {
    width: 760px;
    height: 760px;
    top: -280px;
    right: -180px;
    background: radial-gradient(closest-side, rgba(20, 184, 166, .24), rgba(20, 184, 166, 0));
    animation: drift 18s ease-in-out infinite alternate;
}

.blob-orange {
    width: 620px;
    height: 620px;
    bottom: -300px;
    left: -220px;
    background: radial-gradient(closest-side, rgba(249, 115, 22, .17), rgba(249, 115, 22, 0));
    animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    to {
        transform: translate3d(40px, 30px, 0) scale(1.08);
    }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
    display: grid;
    justify-items: start;
    gap: 22px;
}

.rotator {
    display: block;
    min-height: 1.15em;
    color: var(--teal-600);
    white-space: nowrap;
}

.rotator-word {
    background: linear-gradient(100deg, var(--teal-700), var(--teal-500) 60%, var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rotator-caret {
    display: inline-block;
    width: 3px;
    height: .9em;
    margin-left: 4px;
    vertical-align: -.08em;
    border-radius: 2px;
    background: var(--orange-500);
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero-stats dd {
    font: 800 1.7rem/1.1 var(--font-heading);
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.hero-stats dt {
    font-size: .9rem;
    color: var(--muted);
}

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

/* Tablet mock-up */
.hero-visual {
    position: relative;
    perspective: 1400px;
    padding: 18px 10px 30px;
}

.tablet {
    position: relative;
    padding: 12px;
    border-radius: 30px;
    background: linear-gradient(145deg, #173f44, var(--ink));
    box-shadow: 0 40px 70px -24px rgba(15, 42, 46, .5), 0 0 0 1px rgba(255, 255, 255, .08) inset;
    transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg));
    transform-style: preserve-3d;
    transition: transform .35s var(--ease);
    will-change: transform;
}

.tablet-screen {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: #f5faf9;
    font-size: .8rem;
    line-height: 1.3;
    color: var(--ink);
}

.tablet-screen small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 .86rem var(--font-heading);
}

.app-shop .icon {
    color: var(--teal-600);
}

.app-demo {
    margin-left: auto;
    color: var(--muted);
    font-size: .68rem;
}

.app-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
    font-size: .7rem;
}

.app-live i,
.map-chip i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.app-kpis {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 10px;
}

.app-kpi,
.app-chart,
.app-top {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6efed;
}

.app-kpi strong {
    font: 800 1.05rem/1.3 var(--font-heading);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.app-kpi:first-child {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    border-color: transparent;
    color: #fff;
}

.app-kpi:first-child small {
    color: rgba(255, 255, 255, .85);
}

.app-panels {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 10px;
}

.app-chart svg {
    display: block;
    width: 100%;
    height: 110px;
    margin-top: 8px;
}

.chart-grid {
    stroke: #e6efed;
    stroke-width: 1;
    fill: none;
}

.chart-line {
    fill: none;
    stroke: var(--teal-600);
    stroke-width: 3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.js .hero-visual .chart-line {
    stroke-dashoffset: 1;
}

.js .hero-visual .chart-area {
    opacity: 0;
}

.js .hero-visual.is-in .chart-line {
    animation: draw 1.8s .4s var(--ease) forwards;
}

.js .hero-visual.is-in .chart-area {
    animation: fade-in 1s 1.4s forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

.app-top {
    display: grid;
    align-content: start;
    gap: 9px;
}

.app-top-row {
    display: grid;
    gap: 4px;
    font-size: .74rem;
}

.app-top-row i {
    display: block;
    width: var(--w);
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
    transform-origin: left;
}

.js .hero-visual .app-top-row i {
    transform: scaleX(0);
    transition: transform 1s .8s var(--ease);
}

.js .hero-visual.is-in .app-top-row i {
    transform: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid #fff;
    box-shadow: var(--shadow);
    font-size: .82rem;
    line-height: 1.3;
    color: var(--ink);
    animation: bob 5s ease-in-out infinite;
}

.float-card small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
}

.float-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--teal-100);
    color: var(--teal-700);
}

.float-sale {
    top: -4px;
    right: -6px;
}

.float-stock {
    bottom: 4px;
    left: -14px;
    animation-delay: -2.5s;
}

.float-stock .float-icon {
    background: var(--orange-50);
    color: var(--orange-600);
}

@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 940px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        max-width: 620px;
        margin-inline: auto;
        width: 100%;
    }

    .tablet {
        --ry: 0deg;
        --rx: 0deg;
    }

    .float-stock {
        left: 0;
    }

    .float-sale {
        right: 0;
    }
}

@media (max-width: 520px) {
    /* The longer trades need two lines here; reserve them so the page never jumps */
    .rotator {
        min-height: 2.3em;
        white-space: normal;
    }

    .app-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-top,
    .app-demo {
        display: none;
    }

    .app-kpis {
        gap: 6px;
    }

    .app-kpi {
        padding: 9px;
    }

    .app-kpi strong {
        font-size: .9rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Trust strip ---------- */

.trust {
    padding-block: 28px 44px;
}

.trust-title {
    text-align: center;
    color: var(--muted);
    font: 600 .95rem var(--font-heading);
}

.marquee {
    display: flex;
    gap: 56px;
    margin-top: 22px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    flex: none;
    align-items: center;
    gap: 56px;
    min-width: 100%;
    justify-content: space-around;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track li {
    display: flex;
    align-items: center;
    gap: 56px;
    white-space: nowrap;
    color: #8a9c9f;
    font: 600 1.05rem var(--font-heading);
}

.marquee-track li.is-client {
    color: var(--ink);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.01em;
}

.marquee-track img {
    display: block;
    height: 36px;
    width: auto;
}

@keyframes marquee {
    to {
        transform: translateX(calc(-100% - 56px));
    }
}

/* ---------- Sector tabs ---------- */

.tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .7em 1.2em;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 600 .98rem var(--font-heading);
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}

.tab:hover {
    border-color: var(--teal-500);
    transform: translateY(-2px);
}

.tab[aria-selected="true"] {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 118, 110, .28);
}

.tab-icon {
    font-size: 1.15em;
}

.tab-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}

.tab-panel[hidden] {
    display: none;
}

.tab-panel.is-entering .sector-copy,
.tab-panel.is-entering .sector-modules {
    animation: panel-in .5s var(--ease) both;
}

.tab-panel.is-entering .sector-modules {
    animation-delay: .08s;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

.sector-copy {
    display: grid;
    gap: 18px;
}

.sector-copy h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
}

.sector-modules {
    position: relative;
    display: grid;
    gap: 16px;
    justify-items: start;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(150deg, var(--teal-50), var(--orange-50));
    overflow: hidden;
}

.sector-emoji {
    position: absolute;
    right: -6px;
    bottom: -22px;
    font-size: 7rem;
    line-height: 1;
    opacity: .2;
    transform: rotate(-12deg);
}

.sector-modules-title {
    font: 700 .95rem var(--font-heading);
    color: var(--ink);
}

.sector-modules .chips,
.sector-modules .text-link {
    position: relative;
}

@media (max-width: 800px) {
    .tab-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .tab-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-inline: -20px;
        padding: 4px 20px 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tab {
        flex: none;
    }
}

/* ---------- Feature bento ---------- */

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.bento .card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px;
    overflow: hidden;
    transition: opacity .7s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.bento .card:hover {
    box-shadow: var(--shadow);
}

.js .bento .card.is-in:hover {
    transform: translateY(-4px);
}

.card-copy {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.bento-offline {
    grid-column: span 7;
}

.bento-map {
    grid-column: span 5;
    grid-row: span 2;
}

.bento-mobile {
    grid-column: span 3;
}

.bento-inventory {
    grid-column: span 4;
}

.bento-reports {
    grid-column: span 7;
}

.bento-apps {
    grid-column: span 5;
}

.demo {
    margin-top: auto;
    font-size: .86rem;
    color: var(--ink);
}

.bento-mobile .demo,
.bento-inventory .demo {
    margin-top: 0;
}

.bento-mobile .card-copy,
.bento-inventory .card-copy {
    margin-top: auto;
}

/* Animated demos only run while their card is on screen */
[data-live] .demo *,
[data-live] .demo *::before {
    animation-play-state: paused;
}

[data-live].is-live .demo *,
[data-live].is-live .demo *::before {
    animation-play-state: running;
}

/* Offline */
.bento-offline {
    flex-direction: row !important;
    align-items: center;
}

.bento-offline .card-copy {
    flex: 1.1;
}

.demo-offline {
    flex: 1;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    background: var(--tint);
    border: 1px solid var(--line);
}

.demo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.net-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
    transition: background-color .4s, color .4s;
}

.net-off,
.is-offline .net-on {
    display: none;
}

.is-offline .net-off {
    display: inline;
}

.is-offline .net-pill {
    background: var(--orange-50);
    color: #9a3412;
}

.switch {
    width: 46px;
    height: 26px;
    padding: 3px;
    border-radius: 999px;
    background: var(--teal-600);
    transition: background-color .4s;
}

.switch i {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transform: translateX(20px);
    transition: transform .4s var(--ease);
}

.is-offline .switch {
    background: #b9c8c6;
}

.is-offline .switch i {
    transform: none;
}

.demo-total small,
.report small {
    display: block;
    color: var(--muted);
    font-size: .8rem;
}

.demo-total strong {
    font: 800 1.9rem/1.2 var(--font-heading);
    font-variant-numeric: tabular-nums;
}

.demo-sync {
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px dashed var(--line);
    color: var(--muted);
    font-size: .82rem;
}

.is-offline .demo-sync {
    border-color: var(--orange-400);
    color: #9a3412;
}

/* Map */
.demo-map {
    position: relative;
    display: grid;
    place-items: center;
    flex: 1;
    padding-bottom: 44px;
}

.demo-map svg {
    width: min(100%, 360px);
    height: auto;
    overflow: visible;
}

.island {
    fill: var(--teal-100);
    stroke: var(--teal-500);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.pin text {
    font: 600 9px var(--font-body);
    fill: var(--ink);
}

.pin-dot {
    fill: var(--orange-500);
    stroke: #fff;
    stroke-width: 2;
}

.pin-pulse {
    fill: var(--orange-500);
    opacity: .5;
    transform-box: fill-box;
    transform-origin: center;
    animation: ping 2.6s ease-out infinite;
    animation-delay: calc(var(--i) * .5s);
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    70%,
    100% {
        transform: scale(3.6);
        opacity: 0;
    }
}

.map-chip {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: .8rem;
}

/* Phone */
.demo-phone {
    display: grid;
    place-items: center;
}

.phone {
    display: grid;
    align-content: start;
    gap: 8px;
    width: min(100%, 190px);
    height: 210px;
    padding: 22px 10px 10px;
    border: 6px solid var(--ink);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, var(--teal-50), #fff);
    overflow: hidden;
}

.note {
    display: grid;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 42, 46, .1);
    font-size: .72rem;
    line-height: 1.35;
    animation: note 7.5s var(--ease) infinite both;
    animation-delay: calc(var(--i) * 1.1s);
}

.note b {
    color: var(--teal-700);
}

@keyframes note {
    0% {
        opacity: 0;
        transform: translateY(-16px) scale(.94);
    }

    8%,
    82% {
        opacity: 1;
        transform: none;
    }

    92%,
    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* Inventory */
.demo-stock {
    display: grid;
    gap: 12px;
}

.stock-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    font-size: .8rem;
}

.stock-track {
    height: 12px;
    border-radius: 6px;
    background: var(--tint);
    overflow: hidden;
}

.stock-track i {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--teal-500);
    transform-origin: left;
    animation: stock 7s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.6s);
}

@keyframes stock {
    0% {
        transform: scaleX(.95);
        background: var(--teal-500);
    }

    55% {
        transform: scaleX(.3);
        background: var(--teal-500);
    }

    68% {
        transform: scaleX(.14);
        background: var(--orange-500);
    }

    80%,
    100% {
        transform: scaleX(.95);
        background: var(--teal-500);
    }
}

/* Reports */
.demo-reports {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 14px 20px;
}

.report strong {
    font: 800 clamp(1.15rem, 2vw, 1.6rem)/1.2 var(--font-heading);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.spark {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 64px;
}

.spark i {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--teal-500), var(--teal-100));
    transform-origin: bottom;
}

.spark i:last-child {
    background: linear-gradient(180deg, var(--orange-500), var(--orange-400));
}

.js .bento-reports .spark i {
    transform: scaleY(0);
    transition: transform .8s var(--ease);
    transition-delay: calc(var(--i) * 60ms + 200ms);
}

.js .bento-reports.is-in .spark i {
    transform: none;
}

/* Apps */
.bento-apps {
    background: linear-gradient(150deg, var(--teal-900), var(--teal-700)) !important;
    border-color: transparent !important;
    justify-content: space-between;
}

.bento-apps h3 {
    color: #fff;
}

.bento-apps p {
    color: rgba(255, 255, 255, .82);
}

.apps-icons {
    display: flex;
    gap: 12px;
}

.apps-icons span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.3rem;
}

@media (max-width: 1000px) {
    .bento-offline,
    .bento-reports {
        grid-column: span 12;
    }

    .bento-map,
    .bento-mobile,
    .bento-inventory,
    .bento-apps {
        grid-column: span 6;
        grid-row: auto;
    }
}

@media (max-width: 680px) {
    .bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .bento .card {
        grid-column: auto;
        padding: 22px;
    }

    .bento-offline {
        flex-direction: column !important;
        align-items: stretch;
    }

    .demo-reports {
        grid-template-columns: 1fr 1fr;
    }

    .demo-reports .report:first-child {
        grid-column: 1 / -1;
    }
}

/* ---------- Hardware ---------- */

.hardware-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hardware-copy {
    display: grid;
    justify-items: start;
    gap: 24px;
}

.hardware-copy .section-head {
    margin-bottom: 0;
}

.hardware-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.hardware-list li {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    font-size: .93rem;
    line-height: 1.45;
}

.hardware-list strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-heading);
}

.hardware-num {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-700);
    font: 700 .85rem var(--font-heading);
}

.hardware-stage {
    --p: 1;
    padding: 20px;
    border-radius: 36px;
    background: radial-gradient(120% 90% at 50% 0%, var(--teal-50), var(--orange-50));
    border: 1px solid var(--line);
}

.hardware-stage svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Each piece has its own slice (--s) of the scroll progress (--p) */
.hw-piece {
    --q: clamp(0, calc((var(--p) - var(--s)) / .5), 1);
    opacity: var(--q);
    transform: translate(calc(var(--dx) * (1 - var(--q))), calc(var(--dy) * (1 - var(--q))));
}

.hw-shadow {
    fill: rgba(15, 42, 46, .1);
    opacity: var(--p);
}

.hw-dark {
    fill: var(--ink);
}

.hw-mid {
    fill: #1d4a50;
}

.hw-light {
    fill: #cfdedb;
}

.hw-teal {
    fill: var(--teal-500);
}

.hw-orange {
    fill: var(--orange-500);
}

.hw-screen {
    fill: #f5faf9;
}

.hw-panel,
.hw-paper {
    fill: #fff;
    stroke: var(--line);
}

.hw-tile-a {
    fill: var(--teal-100);
}

.hw-tile-b {
    fill: #fde3cc;
}

.hw-tile-c {
    fill: #d9e8f7;
}

.hw-rule {
    fill: none;
    stroke: #b7c8c5;
    stroke-width: 3;
    stroke-linecap: round;
}

.hw-beam {
    fill: none;
    stroke: var(--orange-500);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 3 6;
}

@media (max-width: 940px) {
    .hardware-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hardware-stage {
        order: -1;
    }
}

@media (max-width: 520px) {
    .hardware-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Pricing ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px 28px;
}

.plan .badge {
    align-self: flex-start;
}

.plan-text {
    min-height: 3.2em;
}

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25em;
    margin-top: 6px;
    font: 800 2.3rem/1.1 var(--font-heading);
    color: var(--ink);
    letter-spacing: -.02em;
}

.plan-price small,
.plan-price span {
    font: 500 1rem var(--font-body);
    color: var(--muted);
    letter-spacing: 0;
}

.plan-note {
    font-size: .9rem;
    color: var(--muted);
}

.plan .check-list {
    margin-block: 10px 18px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .95rem;
}

.plan .btn {
    margin-top: auto;
}

.plan-featured {
    border: 2px solid var(--teal-600);
    box-shadow: 0 30px 60px -24px rgba(15, 118, 110, .4);
    background: linear-gradient(180deg, #fff, var(--teal-50));
}

.plan-soon {
    background: transparent;
    border-style: dashed;
    box-shadow: none;
}

.plan-soon .plan-price {
    color: var(--muted);
}

.eyebrow .badge {
    margin-left: .7em;
}

.plans-footnote {
    max-width: 640px;
    margin: 28px auto 0;
    text-align: center;
    font-size: .92rem;
    color: var(--muted);
}

@media (max-width: 940px) {
    .plans {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        margin-inline: auto;
    }

    .plan-text {
        min-height: 0;
    }
}

/* ---------- How it works ---------- */

.steps {
    --p: 1;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.steps-line {
    position: absolute;
    top: 27px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 4px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}

.steps-line i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--teal-500), var(--orange-500));
    transform: scaleX(var(--p));
    transform-origin: left;
}

.step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.step-num {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--teal-600);
    color: var(--teal-700);
    font: 800 1.3rem var(--font-heading);
    box-shadow: 0 0 0 8px var(--bg);
}

@media (max-width: 760px) {
    .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .steps-line {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 4px;
        height: auto;
    }

    .steps-line i {
        background: linear-gradient(180deg, var(--teal-500), var(--orange-500));
        transform: scaleY(var(--p));
        transform-origin: top;
    }

    .step {
        grid-template-columns: 58px minmax(0, 1fr);
        justify-items: start;
        column-gap: 18px;
        text-align: left;
    }

    .step-num {
        grid-row: span 2;
    }
}

/* ---------- Testimonials ---------- */

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
    padding: 6px 2px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
    scroll-snap-align: start;
}

.quote blockquote {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
}

.quote footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: .92rem;
    line-height: 1.4;
}

.quote footer strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-heading);
}

.quote-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
    font: 700 1rem var(--font-heading);
    object-fit: cover;
}

.quote-avatar.is-logo {
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
}

.stars {
    display: flex;
    gap: 3px;
    color: #d5dfdd;
}

.stars .is-on {
    color: var(--orange-500);
    fill: currentColor;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.carousel-controls[hidden] {
    display: none;
}

@media (max-width: 800px) {
    .carousel-track {
        grid-auto-columns: 88%;
    }

    .quote {
        padding: 24px;
    }
}

/* ---------- FAQ ---------- */

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .2s, box-shadow .2s;
}

.faq details[open] {
    border-color: var(--teal-500);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--ink);
    font: 700 1.05rem/1.4 var(--font-heading);
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    color: var(--teal-600);
    transition: transform .3s var(--ease);
}

.faq details[open] summary .icon {
    transform: rotate(180deg);
}

.faq details p {
    padding: 0 24px 22px;
    animation: panel-in .4s var(--ease);
}

/* ---------- Final CTA ---------- */

.final {
    padding-bottom: clamp(56px, 8vw, 96px);
}

.final-band {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(40px, 7vw, 80px) 24px;
    border-radius: 40px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(249, 115, 22, .5), transparent 70%),
        radial-gradient(70% 100% at 0% 100%, rgba(20, 184, 166, .55), transparent 70%),
        var(--teal-900);
    color: rgba(255, 255, 255, .86);
    text-align: center;
    overflow: hidden;
}

.final-band h2 {
    color: #fff;
}

.final-band .hero-actions {
    justify-content: center;
    margin-top: 8px;
}

.final-call a {
    color: #fff;
    font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: clamp(48px, 6vw, 72px) 0 28px;
    background: var(--ink);
    color: #b5c6c8;
    font-size: .95rem;
}

.site-footer a {
    color: #dbe7e8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr .7fr 1.4fr;
    gap: 36px 28px;
}

.footer-brand {
    display: grid;
    align-content: start;
    gap: 16px;
}

.site-footer .brand {
    color: #fff;
}

.site-footer .brand b {
    color: var(--teal-500);
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact .icon {
    margin-top: .25em;
    color: var(--teal-500);
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.social a:hover {
    background: var(--teal-600);
}

.map-card {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    height: 170px;
    margin-top: 16px;
    border-radius: 18px;
    background:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 100%,
        #17393e;
    overflow: hidden;
}

.map-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-card .btn {
    padding: .6em 1.1em;
    font-size: .88rem;
}

.map-card > a {
    font-size: .85rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Floating WhatsApp + cookie notice ---------- */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    box-shadow: 0 12px 28px rgba(18, 140, 126, .45);
    transition: transform .2s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float .icon {
    width: 30px;
    height: 30px;
}

.cookie-bar {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 95;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    max-width: min(560px, calc(100% - 110px));
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: .9rem;
    line-height: 1.5;
}

.cookie-bar[hidden] {
    display: none;
}

.cookie-bar p {
    flex: 1 1 260px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-bar .btn {
    padding: .55em 1.1em;
    font-size: .88rem;
    box-shadow: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .js .hero-visual .chart-line {
        stroke-dashoffset: 0;
    }

    .js .hero-visual .chart-area {
        opacity: 1;
    }

    .js .hero-visual .app-top-row i,
    .js .bento-reports .spark i {
        transform: none;
    }

    .tablet {
        transform: none;
    }

    .marquee {
        flex-wrap: wrap;
        justify-content: center;
    }

    .marquee-track {
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
        gap: 16px 40px;
    }

    .marquee-track[aria-hidden] {
        display: none;
    }

    .rotator-caret {
        display: none;
    }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(24px, 4vw, 48px);
    overflow: hidden;
}

.page-hero-inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 760px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

/* ---------- Contact ---------- */

.contact-section {
    padding-top: clamp(24px, 4vw, 48px);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(20px, 3vw, 40px);
}

.contact-ways {
    display: grid;
    gap: 14px;
}

.way {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    color: var(--body);
    line-height: 1.45;
    text-decoration: none;
    transition: opacity .7s var(--ease), transform .3s var(--ease), border-color .2s, box-shadow .3s;
}

a.way:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow);
}

.way > span:nth-child(2) {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.way strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-heading);
}

.way-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 1.15rem;
}

.way-whatsapp .way-icon {
    background: #128c7e;
    color: #fff;
}

.way-arrow {
    color: var(--muted);
    transition: transform .2s var(--ease), color .2s;
}

a.way:hover .way-arrow {
    color: var(--teal-700);
    transform: translateX(4px);
}

.way-office .map-card {
    flex: 1 1 100%;
    margin-top: 4px;
}

.map-card-light {
    background:
        linear-gradient(rgba(15, 118, 110, .08) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(90deg, rgba(15, 118, 110, .08) 1px, transparent 1px) 0 0 / 28px 100%,
        var(--tint);
    height: 220px;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3.5vw, 40px);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.5rem;
}

.field {
    display: grid;
    gap: 6px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field label {
    color: var(--ink);
    font: 600 .92rem var(--font-heading);
}

.field label small {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8em 1em;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .16);
}

.field [aria-invalid="true"] {
    border-color: #dc2626;
}

.contact-form .btn {
    justify-self: start;
}

.contact-form .btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.form-status {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: #dcfce7;
    color: #14532d;
    font-weight: 500;
}

.form-status.is-error {
    background: #fee2e2;
    color: #7f1d1d;
}

.form-status[hidden] {
    display: none;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form {
        order: -1;
    }
}

@media (max-width: 520px) {
    .field-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form .btn {
        justify-self: stretch;
    }
}

/* ---------- Inner page sections ---------- */

.section-flush {
    padding-top: clamp(24px, 4vw, 48px);
}

.empty-note,
.not-found {
    text-align: center;
}

.not-found {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(24px, 4vw, 64px);
}

.about-story {
    display: grid;
    gap: 18px;
    font-size: 1.06rem;
}

.about-stats {
    display: grid;
    gap: 22px;
    padding: 30px;
    background: linear-gradient(150deg, var(--teal-50), var(--orange-50));
}

.about-stats div {
    display: flex;
    flex-direction: column;
}

.about-stats dd {
    font: 800 2.4rem/1.1 var(--font-heading);
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.value {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 26px;
}

.value-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--teal-100);
    color: var(--teal-700);
    font-size: 1.2rem;
}

.step-label {
    width: auto;
    min-width: 58px;
    padding-inline: 18px;
    border-radius: 999px;
    font-size: 1.05rem;
    white-space: nowrap;
}

/* Modules */
.module-groups {
    display: grid;
    gap: clamp(36px, 5vw, 56px);
}

.module-group h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

.module {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 24px;
    transition: opacity .7s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .2s;
}

.module:hover {
    border-color: var(--teal-500);
    box-shadow: var(--shadow);
}

.module h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.module-initial {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
    font: 800 1.15rem var(--font-heading);
}

/* Packages */
.packages {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.package {
    grid-column: span 2;
}

/* Larger setups are quoted by phone: a full-width band under the packages */
.package-more {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: clamp(24px, 4vw, 40px);
    border: 0;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(249, 115, 22, .45), transparent 70%),
        var(--teal-900);
    color: rgba(255, 255, 255, .86);
}

.package-more > div:first-child {
    flex: 1 1 320px;
    display: grid;
    gap: 8px;
}

.package-more h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

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

.package h2 {
    font-size: 1.6rem;
}

.package h3 {
    margin-top: 8px;
    font-size: .95rem;
    color: var(--muted);
    font-weight: 600;
}

.package .check-list {
    margin: 0;
    padding: 0;
    border: 0;
}

.package-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--tint);
}

.package-prices dt {
    font-size: .82rem;
    color: var(--muted);
}

.package-prices dd {
    font: 800 1.35rem/1.25 var(--font-heading);
    color: var(--ink);
    white-space: nowrap;
}

.package-prices .package-note {
    font: 400 .76rem/1.4 var(--font-body);
    color: var(--muted);
    white-space: normal;
}

.package-free {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #dcfce7;
    color: #14532d;
    font-weight: 600;
    font-size: .9rem;
}

.package .chips li {
    padding: .25em .7em;
    font-size: .82rem;
    background: var(--bg);
}

.package .btn {
    margin-top: auto;
}

.package .chips {
    margin-bottom: 14px;
}

.package-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: clamp(32px, 5vw, 56px);
}

.package-info {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 30px;
    border-left: 4px solid var(--teal-500);
}

.package-info.is-accent {
    border-left-color: var(--orange-500);
}

.package-info h2 {
    font-size: 1.3rem;
}

/* Testimonials page */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 20px;
}

.quote footer small {
    display: block;
    color: var(--muted);
}

/* Quote page */
.quote-points {
    padding: 24px;
}

/* Sitemap */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sitemap-card {
    padding: 28px;
}

.sitemap-card h2 {
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.sitemap-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.sitemap-card a:hover {
    color: var(--teal-700);
}

.sitemap-card a .icon {
    color: var(--muted);
}

/* Legal texts: the content files keep their original markup */
.prose {
    padding: clamp(24px, 5vw, 56px);
    color: var(--body);
}

.prose div {
    width: auto;
}

.prose h4 {
    margin: 2em 0 .6em;
    font: 700 1.2rem/1.3 var(--font-heading);
    color: var(--ink);
}

.prose h4:first-of-type {
    margin-top: 0;
}

.prose h5 {
    margin: 1.4em 0 .4em;
    font: 700 1rem/1.3 var(--font-heading);
    color: var(--ink);
}

.prose p {
    margin-bottom: 1em;
}

.prose ul {
    margin: 0 0 1em;
    padding-left: 1.3em;
    list-style: disc;
}

.prose li {
    margin-bottom: .35em;
}

.prose .bg-light {
    margin-top: 1em;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    background: var(--tint);
}

.prose .bg-light p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .package {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .about-grid,
    .package-notes,
    .sitemap-grid,
    .packages {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 22px;
    }

    .about-stats dd {
        font-size: 1.7rem;
    }

    .step-label {
        grid-row: auto;
        justify-self: start;
    }

    .steps .step:has(.step-label) {
        grid-template-columns: minmax(0, 1fr);
        padding-left: 46px;
    }
}

@media (max-width: 520px) {
    .values {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Real app screenshots (homepage demo section) ---------- */

.devices {
    position: relative;
    max-width: 980px;
    margin-inline: auto;
    padding: 0 clamp(0px, 6vw, 70px) 30px 0;
}

.device-tablet {
    padding: clamp(8px, 1.4vw, 16px);
    border-radius: clamp(18px, 3vw, 34px);
    background: linear-gradient(145deg, #173f44, var(--ink));
    box-shadow: 0 40px 70px -28px rgba(15, 42, 46, .5);
}

.device-tablet img,
.device-phone img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.device-tablet img {
    border-radius: clamp(10px, 1.8vw, 20px);
}

.shot-panel.is-entering img {
    animation: fade-in .4s var(--ease) both;
    opacity: 0;
}

.device-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(92px, 21%, 210px);
    padding: clamp(4px, .7vw, 8px);
    border-radius: clamp(14px, 2.4vw, 30px);
    background: var(--ink);
    box-shadow: 0 30px 50px -18px rgba(15, 42, 46, .55);
}

.device-phone img {
    aspect-ratio: 9 / 17;
    object-fit: cover;
    object-position: top;
    border-radius: clamp(10px, 1.8vw, 22px);
}

.demo-access {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 28px;
    margin-top: 36px;
}

.demo-access dl {
    display: flex;
    gap: 12px;
}

.demo-access dl div {
    padding: 8px 18px;
    border: 1px dashed var(--teal-500);
    border-radius: var(--radius-sm);
    background: var(--teal-50);
    line-height: 1.3;
}

.demo-access dt {
    font-size: .76rem;
    color: var(--muted);
}

.demo-access dd {
    font: 700 1.05rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--ink);
}

/* The step number halo follows the section background */
.section-tint .step-num {
    box-shadow: 0 0 0 8px var(--tint);
}

/* ---------- Features page ---------- */

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.feature-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 clamp(36px, 5vw, 60px);
}

.feature-index a {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .45em .5em .45em 1em;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}

.feature-index a:hover {
    border-color: var(--teal-500);
    background: var(--teal-50);
}

.feature-index span {
    min-width: 1.9em;
    padding: .1em .5em;
    border-radius: 999px;
    background: var(--teal-100);
    color: var(--teal-700);
    font-weight: 700;
    font-size: .8rem;
    text-align: center;
}

.feature-groups {
    display: grid;
    gap: clamp(40px, 6vw, 72px);
}

.feature-group {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
    align-items: start;
    gap: clamp(20px, 3vw, 48px);
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.feature-group header {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    display: grid;
    gap: 10px;
}

.feature-group h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.feature-group-num {
    color: var(--orange-600);
    font: 800 .95rem var(--font-heading);
    letter-spacing: .08em;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}

.feature-list li {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    font-size: .93rem;
    line-height: 1.5;
}

.feature-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font: 700 1rem/1.35 var(--font-heading);
}

.feature-list .icon {
    margin-top: .15em;
    padding: 3px;
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-700);
    stroke-width: 3;
}

/* Homepage: every feature by name */
.feature-wall {
    display: grid;
    gap: 18px;
    margin-top: 20px;
    padding: clamp(22px, 3.5vw, 40px);
}

.feature-wall h3 {
    font-size: 1.4rem;
}

.feature-wall-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 8px 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.feature-wall-row p {
    padding-top: .3em;
    color: var(--ink);
    font: 700 .95rem/1.4 var(--font-heading);
}

.feature-wall .chips li {
    padding: .3em .8em;
    background: var(--bg);
    font-size: .88rem;
}

.feature-wall .btn {
    justify-self: start;
    margin-top: 6px;
}

@media (max-width: 860px) {
    .feature-group,
    .feature-wall-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-group header {
        position: static;
    }

    .feature-wall .btn {
        justify-self: stretch;
    }
}
