:root {
    --navy-950: #04101f;
    --navy-900: #071b32;
    --navy-800: #0b2845;
    --navy-700: #113a60;
    --turquoise-500: #19c7c2;
    --turquoise-400: #43ddd7;
    --turquoise-100: #d9fbf9;
    --blue-50: #f3f8fc;
    --white: #ffffff;
    --gray-100: #edf2f6;
    --gray-200: #dde6ed;
    --gray-400: #91a2b2;
    --gray-600: #526679;
    --gray-800: #24384a;
    --text: #172c3d;
    --positive: #1ba97f;
    --warning: #e09b38;
    --shadow: 0 24px 70px rgba(4, 22, 39, .12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 52px;
}

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

.section-heading h2,
.solution-copy h2,
.about-copy h2,
.contact-copy h2 {
    margin: 14px 0 18px;
    color: var(--navy-900);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.section-heading h2 span,
.solution-copy h2 span,
.about-copy h2 span,
.contact-copy h2 span {
    color: var(--turquoise-500);
}

.section-heading p,
.solution-copy > p,
.about-copy > p,
.contact-copy > p {
    margin: 0;
    color: var(--gray-600);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--turquoise-400);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: "";
}

.eyebrow.dark {
    color: var(--navy-700);
}

.header {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(4, 16, 31, .78);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-mark {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(67, 221, 215, .5);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(25, 199, 194, .22), rgba(17, 58, 96, .2));
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    width: 27px;
    height: 27px;
    border: 2px solid var(--turquoise-400);
    border-radius: 50%;
    content: "";
}

.brand-mark::before {
    left: 6px;
}

.brand-mark::after {
    right: 6px;
    opacity: .45;
}

.brand-eye {
    position: relative;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(67, 221, 215, .28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1rem;
    letter-spacing: -.02em;
}

.brand-text small {
    margin-top: 5px;
    color: var(--turquoise-400);
    font-size: .59rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    font-weight: 600;
}

.nav a {
    transition: color .2s ease;
}

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

.nav-cta {
    padding: 12px 18px;
    border: 1px solid rgba(67, 221, 215, .45);
    border-radius: 10px;
    background: rgba(25, 199, 194, .1);
    color: var(--white) !important;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 10px;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    padding: 170px 0 110px;
    background:
        radial-gradient(circle at 80% 20%, rgba(25, 199, 194, .12), transparent 25%),
        linear-gradient(145deg, var(--navy-950), var(--navy-900) 58%, #0b2d4d);
    color: var(--white);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image:
        linear-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .3) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
}

.hero-glow-one {
    top: 100px;
    right: -150px;
    width: 440px;
    height: 440px;
    background: rgba(25, 199, 194, .1);
}

.hero-glow-two {
    bottom: -250px;
    left: -180px;
    width: 500px;
    height: 500px;
    background: rgba(32, 107, 174, .15);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
}

.hero-copy h1 {
    max-width: 720px;
    margin: 22px 0 24px;
    font-size: clamp(3.3rem, 7vw, 6.1rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.hero-copy h1 span {
    display: block;
    color: var(--turquoise-400);
}

.hero-description {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    font-size: .94rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

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

.button-primary {
    background: var(--turquoise-500);
    color: var(--navy-950);
    box-shadow: 0 14px 32px rgba(25, 199, 194, .23);
}

.button-primary:hover {
    background: var(--turquoise-400);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .06);
    color: var(--white);
}

.button-light {
    background: var(--white);
    color: var(--navy-900);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
    color: rgba(255, 255, 255, .56);
    font-size: .82rem;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points span::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--turquoise-400);
    content: "";
}

.dashboard-shell {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
    box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
    backdrop-filter: blur(20px);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 17px;
}

.dashboard-top > div:first-child {
    display: flex;
    flex-direction: column;
}

.dashboard-top small {
    color: rgba(255, 255, 255, .46);
}

.dashboard-top strong {
    margin-top: 2px;
    font-size: 1rem;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .65);
    font-size: .72rem;
}

.dashboard-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--positive);
    box-shadow: 0 0 0 5px rgba(27, 169, 127, .12);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.kpi-card {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(2, 13, 26, .38);
}

.kpi-card small,
.kpi-card span {
    display: block;
}

.kpi-card small {
    color: rgba(255, 255, 255, .48);
    font-size: .66rem;
}

.kpi-card strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 1.2rem;
}

.kpi-card span {
    font-size: .65rem;
}

.positive {
    color: #69e1bb;
}

.warning {
    color: #f0b764;
}

.chart-panel {
    margin-top: 10px;
    padding: 18px 18px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 15px;
    background: rgba(2, 13, 26, .38);
}

.chart-title {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
}

.chart-title small {
    color: rgba(255, 255, 255, .44);
}

.chart {
    position: relative;
    display: flex;
    height: 210px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.chart::before,
.chart::after,
.chart-line {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, .06);
    content: "";
}

.chart::before {
    top: 25%;
}

.chart-line {
    top: 50%;
}

.chart::after {
    top: 75%;
}

.bar-group {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex: 1;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.bar-group small {
    position: absolute;
    bottom: -24px;
    color: rgba(255, 255, 255, .38);
    font-size: .61rem;
}

.bar {
    display: block;
    width: 11px;
    min-height: 8px;
    border-radius: 5px 5px 0 0;
}

.bar.target {
    background: #31577b;
}

.bar.result {
    background: linear-gradient(to top, var(--turquoise-500), var(--turquoise-400));
}

.dashboard-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 32px 2px 0;
    color: rgba(255, 255, 255, .55);
    font-size: .64rem;
}

.dashboard-footer small {
    margin-left: auto;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
}

.dot.turquoise {
    background: var(--turquoise-400);
}

.dot.navy {
    background: #31577b;
}

.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -36px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-grid > div {
    display: flex;
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 34px;
    border-right: 1px solid var(--gray-100);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid strong {
    color: var(--navy-900);
}

.trust-grid span {
    margin-top: 4px;
    color: var(--gray-600);
    font-size: .86rem;
}

.problem-section {
    padding-top: 145px;
    background: var(--white);
}

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

.problem-card {
    position: relative;
    min-height: 280px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    background: var(--white);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.problem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(25, 199, 194, .36);
    box-shadow: var(--shadow);
}

.problem-card .number {
    color: var(--turquoise-500);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.problem-card h3 {
    margin: 70px 0 12px;
    color: var(--navy-900);
    font-size: 1.24rem;
}

.problem-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: .92rem;
}

.services-section {
    background: var(--navy-900);
    color: var(--white);
}

.services-section .section-heading h2 {
    color: var(--white);
}

.services-section .section-heading p {
    color: rgba(255, 255, 255, .62);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(67, 221, 215, .38);
    background:
        linear-gradient(145deg, rgba(25, 199, 194, .12), rgba(255, 255, 255, .035));
}

.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(67, 221, 215, .35);
    border-radius: 13px;
    background: rgba(25, 199, 194, .08);
    color: var(--turquoise-400);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.service-card h3 {
    margin: 22px 0 11px;
    font-size: 1.2rem;
}

.service-card p {
    min-height: 92px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .58);
    font-size: .91rem;
}

.service-card > span {
    color: var(--turquoise-400);
    font-size: .78rem;
    font-weight: 800;
}

.solution-section {
    overflow: hidden;
    background: var(--blue-50);
}

.solution-layout {
    display: grid;
    align-items: center;
    grid-template-columns: .88fr 1.12fr;
    gap: 80px;
}

.check-list {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-800);
}

.check-list li span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--turquoise-100);
    color: #078f8b;
    font-size: .76rem;
    font-weight: 900;
}

.text-link {
    color: var(--navy-700);
    font-weight: 800;
}

.demo-panel {
    padding: 22px;
    border: 1px solid var(--gray-200);
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.demo-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: var(--blue-50);
}

.demo-tab {
    flex: 1;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--gray-600);
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.demo-tab.active {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: 0 5px 14px rgba(11, 40, 69, .09);
}

.demo-content {
    display: none;
    min-height: 330px;
    padding-top: 20px;
}

.demo-content.active {
    display: block;
}

.demo-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.demo-kpis > div {
    padding: 17px;
    border: 1px solid var(--gray-100);
    border-radius: 13px;
}

.demo-kpis small,
.demo-kpis strong {
    display: block;
}

.demo-kpis small {
    color: var(--gray-600);
    font-size: .68rem;
}

.demo-kpis strong {
    margin-top: 7px;
    color: var(--navy-900);
    font-size: 1.18rem;
}

.ranking {
    display: grid;
    gap: 22px;
    margin-top: 38px;
}

.ranking-row {
    display: grid;
    align-items: center;
    grid-template-columns: 105px 1fr 42px;
    gap: 12px;
    color: var(--gray-600);
    font-size: .77rem;
}

.ranking-row > div {
    height: 9px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--gray-100);
}

.ranking-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--navy-700), var(--turquoise-500));
}

.ranking-row strong {
    color: var(--navy-900);
    text-align: right;
}

.aging-grid,
.inventory-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.aging-grid > div,
.inventory-visual > div {
    padding: 20px;
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    background: var(--blue-50);
}

.aging-grid span,
.inventory-visual span {
    display: block;
    color: var(--gray-600);
    font-size: .75rem;
}

.aging-grid strong,
.inventory-visual strong {
    display: block;
    margin-top: 7px;
    color: var(--navy-900);
    font-size: 1.1rem;
}

.demo-note {
    display: block;
    margin-top: 10px;
    color: var(--gray-400);
    text-align: right;
}

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

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 20px 60px rgba(4, 22, 39, .06);
}

.process-step {
    min-height: 250px;
    padding: 34px;
    border-right: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.process-step:nth-child(3n) {
    border-right: 0;
}

.process-step:nth-child(n+4) {
    border-bottom: 0;
}

.process-step > span {
    color: var(--turquoise-500);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.process-step h3 {
    margin: 54px 0 10px;
    color: var(--navy-900);
}

.process-step p {
    margin: 0;
    color: var(--gray-600);
    font-size: .9rem;
}

.about-section {
    background: var(--navy-950);
    color: var(--white);
}

.about-layout {
    display: grid;
    align-items: center;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
}

.about-visual {
    padding: 30px;
}

.about-card {
    display: flex;
    min-height: 450px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 35%, rgba(25, 199, 194, .14), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    text-align: center;
}

.about-symbol {
    position: relative;
    display: grid;
    width: 95px;
    height: 95px;
    margin-bottom: 34px;
    place-items: center;
    border: 1px solid rgba(67, 221, 215, .36);
    border-radius: 28px;
    background: rgba(25, 199, 194, .07);
}

.about-symbol::before,
.about-symbol::after {
    position: absolute;
    width: 55px;
    height: 55px;
    border: 3px solid var(--turquoise-400);
    border-radius: 50%;
    content: "";
}

.about-symbol::before {
    left: 14px;
}

.about-symbol::after {
    right: 14px;
    opacity: .4;
}

.about-symbol span {
    position: relative;
    z-index: 2;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 7px rgba(67, 221, 215, .17);
}

.about-card strong {
    font-size: 1.03rem;
}

.about-card p {
    margin: 9px;
    color: var(--turquoise-400);
    font-weight: 900;
}

.about-copy h2 {
    color: var(--white);
}

.about-copy > p {
    color: rgba(255, 255, 255, .62);
}

.about-copy > p + p {
    margin-top: 18px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.about-values > div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
}

.about-values strong,
.about-values span {
    display: block;
}

.about-values strong {
    color: var(--turquoise-400);
}

.about-values span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .48);
    font-size: .76rem;
}

.cta-section {
    padding: 0 0 110px;
    background: var(--navy-950);
}

.cta-box {
    display: flex;
    min-height: 230px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, #0f8e8b, var(--turquoise-500));
    color: var(--navy-950);
}

.cta-box small {
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cta-box h2 {
    max-width: 720px;
    margin: 9px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.contact-section {
    background: var(--blue-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 80px;
}

.contact-features {
    display: grid;
    gap: 18px;
    margin-top: 38px;
}

.contact-features > div {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-features span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: var(--navy-900);
    color: var(--turquoise-400);
    font-size: .7rem;
    font-weight: 900;
}

.contact-features p {
    margin: 4px 0 0;
    color: var(--gray-600);
    font-size: .9rem;
}

.contact-form-wrap {
    padding: 34px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-success {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    padding: 17px 20px;
    border: 1px solid rgba(27, 169, 127, .22);
    border-radius: 12px;
    background: rgba(27, 169, 127, .08);
}

.form-success strong {
    color: #087a59;
}

.form-success span {
    margin-top: 3px;
    color: var(--gray-600);
    font-size: .85rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-900);
    font-size: .78rem;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    outline: 0;
    background: var(--white);
    color: var(--text);
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px;
}

.field textarea {
    min-height: 135px;
    padding: 14px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--turquoise-500);
    box-shadow: 0 0 0 4px rgba(25, 199, 194, .1);
}

.field > small {
    display: block;
    margin-top: 5px;
    color: var(--gray-400);
    font-size: .7rem;
    text-align: right;
}

.errorlist {
    margin: 6px 0 0;
    padding: 0;
    color: #ba3d3d;
    font-size: .74rem;
    list-style: none;
}

.form-errors {
    margin-bottom: 16px;
    padding: 13px;
    border-radius: 10px;
    background: #fff1f1;
    color: #a73131;
    font-size: .8rem;
}

.privacy-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 3px 0 22px;
}

.privacy-field input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: var(--turquoise-500);
}

.privacy-field label {
    color: var(--gray-600);
    font-size: .75rem;
}

.form-button {
    width: 100%;
}

.privacy-note {
    margin: 12px 0 0;
    color: var(--gray-400);
    font-size: .7rem;
    text-align: center;
}

.footer {
    padding: 70px 0 25px;
    background: var(--navy-950);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr;
    gap: 60px;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .46);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong {
    margin-bottom: 4px;
    color: var(--turquoise-400);
    font-size: .78rem;
    text-transform: uppercase;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, .54);
    font-size: .84rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .36);
    font-size: .72rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1050px) {
    .hero-content,
    .solution-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 760px;
    }

    .dashboard-shell {
        max-width: 720px;
        transform: none;
    }

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

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

    .about-visual {
        max-width: 650px;
        padding: 0;
    }
}

@media (max-width: 800px) {
    .section {
        padding: 82px 0;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 82px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 20px 28px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: rgba(4, 16, 31, .98);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 15px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .nav-cta {
        margin-top: 10px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 145px 0 90px;
    }

    .hero-content {
        gap: 55px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

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

    .trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .problem-section {
        padding-top: 120px;
    }

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

    .process-step,
    .process-step:nth-child(3n),
    .process-step:nth-child(n+4) {
        border-right: 1px solid var(--gray-100);
        border-bottom: 1px solid var(--gray-100);
    }

    .process-step:nth-child(2n) {
        border-right: 0;
    }

    .process-step:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        min-height: 74px;
    }

    .brand-text small {
        display: none;
    }

    .nav {
        top: 74px;
    }

    .hero {
        padding-top: 125px;
    }

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

    .button {
        width: 100%;
    }

    .hero-points {
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-shell {
        padding: 13px;
    }

    .kpi-grid,
    .demo-kpis {
        grid-template-columns: 1fr;
    }

    .chart {
        height: 170px;
        gap: 7px;
    }

    .problem-grid,
    .services-grid,
    .process-grid,
    .form-row,
    .about-values,
    .aging-grid,
    .inventory-visual {
        grid-template-columns: 1fr;
    }

    .problem-card {
        min-height: 230px;
    }

    .problem-card h3 {
        margin-top: 40px;
    }

    .service-card p {
        min-height: auto;
    }

    .process-step,
    .process-step:nth-child(3n),
    .process-step:nth-child(n+4),
    .process-step:nth-child(2n),
    .process-step:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .about-card {
        min-height: 390px;
        padding: 28px;
    }

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

    .contact-form-wrap {
        padding: 24px 18px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

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

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* LOGO OFICIAL INSIGHTS METRICS */
.brand {
    flex: 0 0 auto;
}

.brand-logo-image {
    display: block;
    width: auto;
    height: 58px;
    object-fit: contain;
}

.footer .brand-logo-image {
    height: 72px;
}

@media (max-width: 600px) {
    .brand-logo-image {
        height: 46px;
        max-width: 245px;
    }

    .footer .brand-logo-image {
        height: 58px;
        max-width: 290px;
    }
}
