:root,
[data-theme="dark"] {
    --green: #3fc94e;
    --green-dark: #27a336;
    --green-glow: rgba(63, 201, 78, 0.18);

    --bg: #090d0a;
    --bg2: #0f150f;
    --bg3: #141c14;

    --card: #111811;

    --border: rgba(63, 201, 78, 0.15);

    --text: #e8f0e8;
    --muted: #7a927a;
    --white: #f4faf4;
}

/* LIGHT MODE */
[data-theme="light"] {
    --green: #1f9e2e;
    --green-dark: #166e20;
    --green-glow: rgba(31, 158, 46, 0.1);

    --bg: #f4faf4;
    --bg2: #eaf3ea;
    --bg3: #dff0df;

    --card: #ffffff;

    --border: rgba(31, 158, 46, 0.2);

    --text: #1a2a1a;
    --muted: #4a6a4a;
    --white: #0d1a0d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

.centrar-contenido {
    display: flex;
    align-items: center;
    justify-content: center
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 72px;
    background: rgba(9, 13, 10, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

[data-theme="light"] nav {
    background: rgba(244, 250, 244, 0.9);
}

.nav-logo img {
    margin-top: 5px;
    height: 56px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .03em;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .55rem 1.4rem;
    font-size: .88rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    letter-spacing: .04em;
}

[data-theme="light"] .nav-cta {
    color: #fff;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(63, 201, 78, .35);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
    transition: color .2s, border-color .2s;
    margin-right: .6rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--green);
    border-color: var(--green);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 5vw 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(63, 201, 78, .07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(63, 201, 78, .04) 0%, transparent 60%);
}

[data-theme="light"] .hero-bg {
    background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(31, 158, 46, .06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(31, 158, 46, .04) 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    opacity: .5;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green-glow);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .3rem 1rem;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    animation: fadeUp .7s .1s both;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.7);
    }
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 1.2rem;
    animation: fadeUp .7s .25s both;
}

h1 span {
    color: var(--green);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 2.4rem;
    font-weight: 300;
    animation: fadeUp .7s .4s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .7s .55s both;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .8rem 2rem;
    font-size: .95rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(63, 201, 78, .4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .8rem 2rem;
    font-size: .95rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all .2s;
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: fadeUp .7s .8s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(var(--green), transparent);
    animation: scrollDown 2s 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 5vw;
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: .82rem;
    color: var(--muted);
    margin-top: .3rem;
    letter-spacing: .04em;
}

/* ── SECTION COMMONS ── */
section {
    padding: 6rem 5vw;
}

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .8rem;
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -.015em;
    margin-bottom: 1rem;
}

h2 em {
    font-style: normal;
    color: var(--green);
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 540px;
    font-weight: 300;
    line-height: 1.7;
}

/* ── SERVICES INTRO ── */
#servicios {
    background: var(--bg);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header .section-sub {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.4rem 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
    cursor: default;
}

[data-theme="light"] .service-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}

.service-card:hover {
    border-color: rgba(63, 201, 78, .35);
    transform: translateY(-4px);
}

[data-theme="light"] .service-card:hover {
    border-color: rgba(31, 158, 46, .4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--green-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
}

.service-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .6rem;
}

.service-desc {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── IPS SECTION ── */
#ips {
    background: var(--bg2);
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-visual {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .feature-visual {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.4rem;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-title {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--muted);
    margin-left: .3rem;
}

.mock-nav {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.mock-tab {
    font-size: .72rem;
    padding: .3rem .8rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: default;
}

.mock-tab.active {
    background: var(--green);
    color: #fff;
}

.mock-tab:not(.active) {
    background: var(--bg3);
    color: var(--muted);
    border: 1px solid var(--border);
}

.mock-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.mock-info {
    flex: 1;
}

.mock-name {
    font-size: .8rem;
    font-weight: 500;
    color: var(--white);
}

.mock-detail {
    font-size: .7rem;
    color: var(--muted);
}

.mock-badge {
    font-size: .65rem;
    padding: .18rem .55rem;
    border-radius: 100px;
    font-weight: 600;
}

.badge-ok {
    background: rgba(63, 201, 78, .15);
    color: var(--green);
}

[data-theme="light"] .badge-ok {
    background: rgba(31, 158, 46, .12);
    color: #166e20;
}

.badge-pend {
    background: rgba(251, 191, 36, .1);
    color: #fbbf24;
}

[data-theme="light"] .badge-pend {
    background: rgba(180, 120, 0, .1);
    color: #8a5c00;
}

.badge-blue {
    background: rgba(96, 165, 250, .1);
    color: #60a5fa;
}

[data-theme="light"] .badge-blue {
    background: rgba(37, 99, 235, .1);
    color: #1d4ed8;
}

.badge-red {
    background: rgba(248, 113, 113, .12);
    color: #f87171;
}

[data-theme="light"] .badge-red {
    background: rgba(220, 38, 38, .1);
    color: #b91c1c;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color .25s;
}

[data-theme="light"] .feature-item {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
}

.feature-item:hover {
    border-color: rgba(63, 201, 78, .3);
}

[data-theme="light"] .feature-item:hover {
    border-color: rgba(31, 158, 46, .4);
}

.fi-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--green-glow);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.fi-text h4 {
    font-family: 'Syne', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .2rem;
}

.fi-text p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── IPS TABS ── */
.tabs-body {
    position: relative;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    pointer-events: none;
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mock-tab {
    cursor: pointer;
}

.semana-header {
    display: grid;
    grid-template-columns: 64px repeat(5, 1fr);
    gap: 3px;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--muted);
    padding: .6rem 0 .4rem;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
}

.semana-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: .5rem 0;
}

.semana-row {
    display: grid;
    grid-template-columns: 64px repeat(5, 1fr);
    gap: 3px;
    align-items: center;
}

.semana-time {
    font-size: .62rem;
    color: var(--muted);
    padding-right: 4px;
}

.semana-slot {
    font-size: .6rem;
    font-weight: 500;
    border-radius: 4px;
    padding: 4px 5px;
    min-height: 26px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.s-ok {
    background: rgba(63, 201, 78, .12);
    color: var(--green);
}

[data-theme="light"] .s-ok {
    background: rgba(31, 158, 46, .1);
    color: #166e20;
}

.s-pend {
    background: rgba(251, 191, 36, .10);
    color: #fbbf24;
}

[data-theme="light"] .s-pend {
    background: rgba(180, 120, 0, .1);
    color: #8a5c00;
}

.s-blue {
    background: rgba(96, 165, 250, .10);
    color: #60a5fa;
}

[data-theme="light"] .s-blue {
    background: rgba(37, 99, 235, .1);
    color: #1d4ed8;
}

.s-empty {
    background: var(--bg3);
}

/* ── INVENTARIO SECTION ── */
#inventario {
    background: var(--bg);
}

.inv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.inv-layout .feature-list {
    order: 1;
}

.inv-layout .feature-visual {
    order: 0;
}

.mock-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
}

.mock-metric:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: .8rem;
    color: var(--muted);
}

.metric-val {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.metric-up {
    font-size: .72rem;
    color: var(--green);
    margin-left: .3rem;
}

.metric-down {
    font-size: .72rem;
    color: #f87171;
    margin-left: .3rem;
}

[data-theme="light"] .metric-down {
    color: #b91c1c;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 36px;
    margin-top: 1.2rem;
}

.mini-bar {
    flex: 1;
    border-radius: 3px;
    background: var(--green);
    opacity: .3;
    transition: opacity .2s;
}

.mini-bar:last-child {
    opacity: 1;
}

.mini-bar:nth-last-child(2) {
    opacity: .65;
}

.mini-bar:nth-last-child(3) {
    opacity: .45;
}

/* ── WHY ── */
#por-que {
    background: var(--bg2);
}

.why-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.why-header .section-sub {
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: transform .25s, border-color .25s;
}

[data-theme="light"] .why-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(63, 201, 78, .3);
}

[data-theme="light"] .why-card:hover {
    border-color: rgba(31, 158, 46, .4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.why-card .icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.why-card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .5rem;
}

.why-card p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── INTEGRATIONS ── */
#integraciones {
    background: var(--bg);
    text-align: center;
}

.integrations-title {
    margin-bottom: .8rem;
}

.integrations-sub {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 3rem;
}

.int-chips {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.int-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .5rem 1.2rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
    transition: border-color .2s, color .2s;
}

[data-theme="light"] .int-chip {
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.int-chip:hover {
    border-color: var(--green);
    color: var(--green);
}

.int-chip span {
    font-size: 1.2rem;
}

/* ── CONTACT ── */
#contacto {
    background: var(--bg2);
    text-align: center;
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .contact-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.contact-row:last-of-type {
    margin-bottom: 0;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--green-glow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: .04em;
}

.contact-value {
    font-size: .95rem;
    color: var(--white);
    font-weight: 500;
}

.contact-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.6rem 0;
}

.cta-big {
    width: 100%;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .95rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all .2s;
    margin-top: 1.4rem;
    letter-spacing: .02em;
}

.cta-big:hover {
    box-shadow: 0 10px 32px rgba(63, 201, 78, .4);
    transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 2.5rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}

footer img {
    height: 36px;
}

.footer-text {
    font-size: .8rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: .8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--green);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

    .feature-layout,
    .inv-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .inv-layout .feature-visual {
        order: 0;
    }

    .inv-layout .feature-list {
        order: 1;
    }

    nav {
        padding: 0 4vw;
    }

    .nav-links {
        display: none;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}