:root {
    --bg-main: #f4f7fb;
    --bg-alt: #eaf0f6;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --line: #c9d6e5;
    --ink-900: #10243a;
    --ink-700: #2b4966;
    --ink-500: #5b7693;
    --brand-950: #091d30;
    --brand-900: #143a63;
    --brand-700: #1c588b;
    --brand-500: #2f79bb;
    --accent: #d57b1a;
    --accent-strong: #b86208;
    --excel: #1f7a4a;
    --excel-soft: #e8f6ef;
    --ok: #1f7a4a;
    --error: #b03a2e;
    --shadow: 0 14px 36px rgba(16, 36, 58, 0.12);
    --shadow-strong: 0 22px 56px rgba(6, 25, 43, 0.28);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --maxw: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--ink-900);
    font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--brand-900);
}

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

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.container {
    width: min(var(--maxw), calc(100% - 36px));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(11, 33, 54, 0.96);
    border-bottom: 1px solid rgba(201, 214, 229, 0.24);
    backdrop-filter: blur(8px);
}

.topbar .container {
    width: min(1440px, calc(100% - 36px));
}

.topbar-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.brand-copy strong {
    font-size: 20px;
    line-height: 1;
}

.brand-copy small {
    color: #d2deea;
    font-size: 13px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.main-nav a {
    color: #e6eef8;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 9px 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(47, 121, 187, 0.18);
    border-color: rgba(201, 214, 229, 0.35);
}

.mobile-only,
.menu-toggle {
    display: none;
}

.menu-toggle {
    border: 1px solid rgba(201, 214, 229, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 8px 11px;
    font-size: 19px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 13px 18px;
    border: 0;
    border-radius: var(--radius-sm);
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 36, 58, 0.2);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    background: #ffffff;
    color: var(--brand-900);
    border: 1px solid var(--line);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(201, 214, 229, 0.42);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark {
    background: #eef5fb;
    color: var(--brand-900);
    border: 1px solid var(--line);
}

.btn-login {
    background: #ffffff;
    color: var(--brand-900);
    border: 1px solid var(--line);
    white-space: nowrap;
}

.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background-image: url("../RECURSOS/FONDO_HTML_TUDASH2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(104deg, rgba(9, 29, 48, 0.86) 0%, rgba(14, 47, 76, 0.74) 45%, rgba(16, 54, 84, 0.52) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 82px 0 76px;
    color: #ffffff;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    border: 1px solid rgba(202, 219, 236, 0.48);
    background: rgba(255, 255, 255, 0.12);
    color: #eef6ff;
}

.section-kicker {
    background: var(--excel-soft);
    color: var(--excel);
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: 54px;
    line-height: 1.08;
}

.hero-subtitle {
    margin: 18px 0 0;
    max-width: 68ch;
    color: #dfe9f4;
    font-size: 18px;
}

.hero-line {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

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

.hero-badges {
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.hero-badges li {
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(201, 214, 229, 0.36);
    background: rgba(255, 255, 255, 0.11);
    color: #eaf3fc;
    font-size: 13px;
    font-weight: 800;
}

.section {
    padding: 76px 0;
    scroll-margin-top: 96px;
}

.section h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.18;
}

.section h3 {
    line-height: 1.22;
}

.section-head {
    max-width: 820px;
    margin-bottom: 28px;
}

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

.section-head-center .section-kicker {
    margin-inline: auto;
}

.section-head p,
.split-copy p,
.section-considerations p,
.final-cta p {
    color: var(--ink-700);
    font-size: 16px;
}

.section-problem {
    background: var(--bg-main);
}

.pain-grid,
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mini-card,
.addon-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: 0 8px 24px rgba(16, 36, 58, 0.07);
}

.mini-card h3,
.addon-card h3 {
    margin: 0 0 8px;
    color: var(--brand-900);
    font-size: 18px;
}

.mini-card p,
.addon-card p {
    margin: 0;
    color: var(--ink-700);
    font-size: 14px;
}

.solution-line {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--excel);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink-900);
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(16, 36, 58, 0.07);
}

.section-tools {
    background-image:
        linear-gradient(145deg, rgba(9, 29, 48, 0.88) 0%, rgba(14, 47, 76, 0.76) 56%, rgba(16, 54, 84, 0.66) 100%),
        url("../RECURSOS/FONDO_HTML_TUDASH.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.section-tools .container,
.section-advanced .container,
.section-gallery .container,
.section-considerations .container {
    width: min(1460px, calc(100% - 36px));
}

.section-tools .section-kicker,
.section-gallery .section-kicker,
.section-considerations .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #dff6e9;
    border: 1px solid rgba(201, 214, 229, 0.32);
}

.section-tools .section-head p,
.section-gallery .section-head p,
.section-considerations p {
    color: #dbe8f4;
}

.module-switcher {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.module-tab {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(201, 214, 229, 0.44);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.module-tab:hover,
.module-tab.is-active {
    background: #ffffff;
    color: var(--brand-900);
    border-color: #ffffff;
    box-shadow: 0 12px 24px rgba(6, 25, 43, 0.18);
}

.carousel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-carousel {
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(201, 214, 229, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(248, 251, 255, 0.1);
    color: #ffffff;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(4px);
}

.feature-carousel.is-active {
    display: grid;
}

.carousel-media {
    position: relative;
    min-height: 840px;
    padding: 22px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(201, 214, 229, 0.28);
}

.carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 214, 229, 0.88);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-900);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(16, 36, 58, 0.14);
    transform: translateY(-50%);
}

.carousel-arrow:hover {
    background: var(--brand-900);
    color: #ffffff;
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.carousel-copy {
    padding: 24px;
    display: grid;
    grid-template-columns: auto minmax(0, 0.7fr) minmax(260px, 1fr);
    gap: 14px 18px;
    align-items: start;
}

.tool-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--brand-700);
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
}

.carousel-copy h3 {
    margin: 0;
    font-size: 22px;
}

.carousel-copy p {
    margin: 0;
    color: #dbe8f4;
}

.carousel-copy .carousel-points {
    grid-column: 2 / -1;
}

.carousel-points,
.check-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.carousel-points li,
.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-700);
    font-size: 14px;
}

.section-tools .carousel-points li,
.section-advanced .carousel-points li {
    color: #e9f2fb;
}

.carousel-points li::before,
.check-list li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--excel);
}

.considerations-grid,
.final-cta {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 26px;
    align-items: center;
}

.section-advanced {
    background-image:
        linear-gradient(145deg, rgba(9, 29, 48, 0.86) 0%, rgba(14, 47, 76, 0.72) 56%, rgba(16, 54, 84, 0.62) 100%),
        url("../RECURSOS/OFICINA3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.section-advanced .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #dff6e9;
    border: 1px solid rgba(201, 214, 229, 0.32);
}

.section-advanced .section-head p {
    color: #dbe8f4;
}

.section-advanced .module-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-copy h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.18;
}

.step-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
    display: grid;
    gap: 10px;
}

.step-list li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    color: var(--ink-700);
    font-weight: 700;
}

.step-list li::before {
    content: counter(steps);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-700);
    color: #ffffff;
    font-weight: 900;
}

.note-box {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #b7cade;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink-700);
}

.product-frame {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.product-frame img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #f6f9fc;
}

.feature-pills {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-pills span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--excel-soft);
    color: var(--excel);
    font-size: 12px;
    font-weight: 900;
}

.section-sql {
    background:
        linear-gradient(145deg, rgba(9, 29, 48, 0.94) 0%, rgba(14, 47, 76, 0.9) 100%);
    color: #ffffff;
}

.section-sql .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #dff6e9;
    border: 1px solid rgba(201, 214, 229, 0.32);
}

.section-sql .section-head p,
.section-sql .check-list li,
.section-sql .sql-card p {
    color: #dbe8f4;
}

.sql-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(201, 214, 229, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.sql-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.product-frame-dark {
    background: rgba(255, 255, 255, 0.95);
}

.product-frame-dark p {
    margin: 12px 0 0;
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 700;
}

.section-gallery {
    background-image:
        linear-gradient(145deg, rgba(9, 29, 48, 0.88) 0%, rgba(14, 47, 76, 0.76) 56%, rgba(16, 54, 84, 0.66) 100%),
        url("../RECURSOS/OFICINA2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.gallery-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.gallery-tab-groups {
    display: grid;
    gap: 10px;
}

.gallery-tab-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.gallery-tab-label {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(6, 25, 43, 0.45);
}

.gallery-tab-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}

.gallery-tab {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 214, 229, 0.44);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-tab:hover,
.gallery-tab.is-active {
    background: #ffffff;
    color: var(--brand-900);
    border-color: #ffffff;
}

.gallery-view {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(201, 214, 229, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(248, 251, 255, 0.1);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(4px);
}

.gallery-copy {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.gallery-copy h3 {
    margin: 0;
    font-size: 24px;
}

.gallery-copy p {
    margin: 0;
    max-width: none;
    color: #dbe8f4;
    font-size: 13px;
    white-space: nowrap;
}

.gallery-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.gallery-visual,
.gallery-manual {
    min-width: 0;
}

.gallery-media-row {
    --gallery-image-ratio: 16 / 10;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.gallery-main {
    width: 100%;
    min-height: clamp(390px, 36vw, 560px);
    max-height: 760px;
    aspect-ratio: var(--gallery-image-ratio);
    border: 1px solid rgba(201, 214, 229, 0.42);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: clamp(390px, 36vw, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 104px;
    height: 86px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
}

.gallery-thumb.is-active {
    border-color: var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-manual {
    position: sticky;
    top: 104px;
    padding: 18px;
    border: 1px solid rgba(201, 214, 229, 0.42);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(6, 25, 43, 0.18);
}

.gallery-manual .section-kicker {
    margin-bottom: 12px;
    background: var(--brand-900);
    color: #ffffff;
    border-color: var(--brand-700);
}

.gallery-manual h3 {
    margin: 0 0 10px;
    color: var(--brand-900);
    font-size: 22px;
}

.gallery-manual p,
.gallery-manual ol,
.gallery-manual ul {
    color: var(--ink-700);
    font-size: 14px;
}

.gallery-manual p {
    margin: 0 0 12px;
}

.gallery-manual .gallery-manual-note {
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: #edf4fb;
    color: var(--ink-700);
    font-weight: 700;
}

.gallery-manual ol,
.gallery-manual ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.gallery-manual li {
    margin-bottom: 6px;
}

.detail-note {
    font-weight: 700;
    color: var(--ink-500);
}

.section-security {
    background: #ffffff;
}

.section-plans {
    background-image:
        linear-gradient(145deg, rgba(9, 29, 48, 0.86) 0%, rgba(14, 47, 76, 0.72) 56%, rgba(16, 54, 84, 0.62) 100%),
        url("../RECURSOS/OFICINA1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.section-plans .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #dff6e9;
    border: 1px solid rgba(201, 214, 229, 0.32);
}

.section-plans .section-head p {
    color: #dbe8f4;
}

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

.plan-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    color: var(--ink-900);
}

.plan-card h3 {
    margin: 0;
    font-size: 24px;
}

.price {
    margin: 0;
    color: var(--brand-900);
    font-size: 46px;
    line-height: 1;
    font-weight: 900;
}

.price span {
    font-size: 26px;
    font-weight: 700;
}

.price small {
    display: block;
    margin-top: 7px;
    color: var(--ink-500);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-subtitle {
    min-height: 68px;
    margin: 0;
    color: var(--ink-700);
    font-weight: 700;
}

.plan-card ul {
    margin: 0;
    padding-left: 19px;
    display: grid;
    gap: 7px;
    color: var(--ink-700);
    font-size: 14px;
}

.plan-card .btn {
    margin-top: auto;
    width: 100%;
}

.plan-featured {
    background: linear-gradient(170deg, #103559 0%, #1c588b 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(16, 36, 58, 0.24);
}

.plan-featured .price,
.plan-featured .price small,
.plan-featured .plan-subtitle,
.plan-featured ul {
    color: #edf4fc;
}

.badge {
    position: absolute;
    top: -12px;
    right: 16px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.legal-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(201, 214, 229, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(9, 29, 48, 0.38);
    color: #d3e2f1;
    font-size: 13px;
}

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

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

.addon-card {
    padding: 24px;
}

.addon-price {
    margin: 0 0 8px;
    color: var(--brand-900);
    font-size: 28px;
    font-weight: 900;
}

.section-considerations {
    background-image:
        linear-gradient(145deg, rgba(9, 29, 48, 0.88) 0%, rgba(14, 47, 76, 0.76) 56%, rgba(16, 54, 84, 0.66) 100%),
        url("../assets/FONDO_HTML_BIENVENIDO.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.considerations-grid {
    align-items: start;
}

.compact-list {
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(201, 214, 229, 0.34);
    border-radius: var(--radius-lg);
    background: rgba(248, 251, 255, 0.1);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(4px);
}

.section-considerations .check-list li {
    color: #e9f2fb;
}

.section-faq {
    background-image:
        linear-gradient(150deg, rgba(236, 244, 252, 0.97) 0%, rgba(242, 247, 252, 0.96) 100%),
        url("../RECURSOS/OFICINA2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item h3 {
    margin: 0;
}

.faq-question {
    position: relative;
    width: 100%;
    padding: 15px 48px 15px 18px;
    border: 0;
    background: #ffffff;
    color: var(--ink-900);
    text-align: left;
    font-weight: 900;
    cursor: pointer;
}

.faq-question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--brand-700);
    font-size: 24px;
}

.faq-question[aria-expanded="true"]::after {
    content: "−";
}

.faq-answer {
    padding: 0 18px 16px;
    color: var(--ink-700);
    font-size: 14px;
}

.section-contact {
    position: relative;
    background-image:
        url("../assets/FONDO_HTML_BIENVENIDO.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);
    background: linear-gradient(140deg, rgba(8, 28, 47, 0.9), rgba(20, 58, 99, 0.72));
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.contact-copy {
    color: #ffffff;
}

.contact-copy p {
    color: #d7e4f1;
}

.contact-copy ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.contact-copy a {
    color: #ffffff;
}

.contact-form {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(201, 214, 229, 0.88);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: grid;
    gap: 8px;
}

.contact-form h3 {
    margin: 0 0 6px;
}

.contact-form label {
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
    font: inherit;
    color: var(--ink-900);
    background: #ffffff;
}

.form-feedback {
    margin: 4px 0 0;
    min-height: 22px;
    font-size: 13px;
    font-weight: 700;
}

.form-feedback.error {
    color: var(--error);
}

.form-feedback.ok {
    color: var(--ok);
}

.policy-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    margin: 6px 0 4px;
    padding: 11px 12px;
    border: 1px solid rgba(30, 78, 120, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(236, 244, 252, 0.72);
    color: var(--ink-700);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.policy-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--brand-700);
}

.policy-consent a {
    color: var(--brand-700);
    font-weight: 800;
}

.footer {
    background: #0e2235;
    color: #dbe8f4;
    border-top: 1px solid rgba(201, 214, 229, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
    gap: 16px;
    align-items: start;
    padding: 26px 0;
}

.footer-grid p {
    margin: 6px 0 0;
    color: #b4cae0;
    font-size: 14px;
}

.footer-nav {
    display: grid;
    gap: 6px;
}

.footer-nav a {
    color: #eaf3fb;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-inline-link {
    color: #eaf3fb;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 22px;
}

.image-modal[hidden] {
    display: none;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 31, 0.76);
    backdrop-filter: blur(4px);
}

.image-modal-panel {
    --modal-image-zoom: 1;
    position: relative;
    z-index: 1;
    width: min(calc(1180px * var(--modal-image-zoom)), calc(100vw - 36px));
    max-height: 92vh;
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(201, 214, 229, 0.4);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-strong);
}

.image-modal-panel h2 {
    margin: 0 48px 12px 0;
    color: var(--brand-900);
    font-size: 22px;
}

.image-modal-panel img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #f5f8fb;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink-900);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .pain-grid,
    .security-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }

    .carousel-grid,
    .considerations-grid,
    .final-cta,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-carousel {
        grid-template-columns: 1fr;
    }

    .carousel-media {
        min-height: 620px;
        border-right: 0;
        border-bottom: 1px solid rgba(201, 214, 229, 0.28);
    }

    .carousel-copy {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .carousel-copy p,
    .carousel-copy .carousel-points {
        grid-column: 2 / -1;
    }

    .final-cta {
        align-items: stretch;
    }

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

    .gallery-shell {
        grid-template-columns: 1fr;
    }

    .gallery-content-grid {
        grid-template-columns: 1fr;
    }

    .gallery-manual {
        position: static;
    }

    .gallery-tab-row {
        grid-template-columns: 190px minmax(0, 1fr);
    }
}

@media (max-width: 840px) {
    .topbar-inner {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 12px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px 18px 16px;
        background: rgba(11, 33, 54, 0.98);
        border-bottom: 1px solid rgba(201, 214, 229, 0.24);
    }

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

    .main-nav a {
        width: 100%;
        font-size: 17px;
        padding: 11px 12px;
    }

    .main-nav .nav-login {
        justify-content: center;
        margin-top: 4px;
        border-color: rgba(201, 214, 229, 0.4);
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }

    .section {
        padding: 58px 0;
    }

    .section h2,
    .split-copy h2 {
        font-size: 32px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 64px 0 56px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .carousel-grid,
    .addon-grid {
        grid-template-columns: 1fr;
    }

    .carousel-media {
        min-height: 420px;
        padding-inline: 50px;
    }

    .carousel-copy {
        grid-template-columns: 1fr;
    }

    .carousel-copy p,
    .carousel-copy .carousel-points {
        grid-column: auto;
    }

    .gallery-tab-row {
        grid-template-columns: 1fr;
    }

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

    .gallery-copy {
        display: grid;
    }

    .gallery-copy p {
        white-space: normal;
    }

    .gallery-main {
        min-height: 360px;
        max-height: 600px;
    }

    .gallery-media-row {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
    }

    .gallery-thumbs {
        max-height: 600px;
    }

    .gallery-thumb {
        width: 80px;
        height: 68px;
    }

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

@media (max-width: 560px) {
    .container,
    .section-gallery .container,
    .topbar .container {
        width: min(var(--maxw), calc(100% - 26px));
    }

    .brand-copy small {
        display: none;
    }

    .hero-content {
        padding: 48px 0 44px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-actions .btn,
    .contact-card .btn {
        width: 100%;
    }

    .hero-badges {
        gap: 8px;
    }

    .hero-badges li {
        width: 100%;
    }

    .section h2,
    .split-copy h2 {
        font-size: 29px;
    }

    .pain-grid,
    .security-grid,
    .gallery-tab-buttons {
        grid-template-columns: 1fr;
    }

    .module-switcher,
    .section-advanced .module-switcher {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        min-height: 300px;
        max-height: 420px;
        padding: 8px;
    }

    .gallery-media-row {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px;
    }

    .gallery-thumbs {
        max-height: 420px;
        padding-right: 4px;
    }

    .gallery-thumb {
        width: 68px;
        height: 58px;
    }

    .carousel-media {
        min-height: 320px;
        padding-inline: 44px;
    }

    .price {
        font-size: 40px;
    }

    .image-modal {
        padding: 10px;
    }

    .image-modal-panel {
        width: calc(100vw - 20px);
        padding: 12px;
        border-radius: var(--radius-md);
    }
}
