/* HerramientaSEO — landing pro */

.page-home {
    --hero-ink: #050812;
}

.page-home::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-home h1,
.page-home h2,
.page-home h3 {
    font-family: var(--font-display);
    letter-spacing: -0.045em;
    line-height: 1.12;
    font-optical-sizing: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.section-head {
    max-width: 38rem;
    margin-bottom: 3.25rem;
}

.section-head-wide {
    max-width: 46rem;
}

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

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

.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin-bottom: 0.95rem;
    font-weight: 700;
}

.section-lead {
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 46ch;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Buttons in dark contexts */
.btn-ghost-light {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.play-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

/* Header polish on home */
.page-home .site-header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(226, 230, 239, 0.7);
}

.page-home .brand-name {
    font-weight: 700;
    letter-spacing: -0.04em;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hero-ink);
    color: #fff;
}

.hero-plane {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 85% 40%, rgba(0, 16, 239, 0.55), transparent 62%),
        radial-gradient(ellipse 35% 35% at 8% 85%, rgba(0, 181, 122, 0.14), transparent 55%),
        radial-gradient(ellipse 40% 30% at 40% 0%, rgba(90, 110, 255, 0.18), transparent 50%),
        linear-gradient(165deg, #050812 0%, #0b1430 45%, #050812 100%);
    pointer-events: none;
}

.hero-plane::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 75% 45%, #000 10%, transparent 70%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding-block: 4rem 4.5rem;
    width: min(var(--container-max, 1380px), calc(100% - var(--content-pad, 3rem)));
}

.hero-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.35rem;
    background: linear-gradient(90deg, #fff 40%, rgba(170, 185, 255, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 4.1rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    max-width: 11.5ch;
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    max-width: 38ch;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero .btn-primary {
    box-shadow: 0 14px 40px rgba(0, 16, 239, 0.5);
}

.hero-trust {
    margin-top: 1.35rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.01em;
}

.hero-visual {
    position: relative;
    margin-right: calc(-1 * max(0px, (100vw - 1220px) / 2 + 0.5rem));
}

.hero-stage {
    position: relative;
    border-radius: 18px 0 0 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    box-shadow:
        -30px 40px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    background: #0a1020;
    animation: stageIn 1.15s var(--ease) both;
}

.hero-chrome,
.demo-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: rgba(8, 12, 24, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-chrome span,
.demo-chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.hero-chrome span:nth-child(1) { background: #ff5f57; }
.hero-chrome span:nth-child(2) { background: #febc2e; }
.hero-chrome span:nth-child(3) { background: #28c840; }

.hero-chrome em,
.demo-chrome em {
    margin-left: 0.75rem;
    font-style: normal;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.hero-media {
    width: 100%;
    min-height: min(58vh, 500px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left center;
}

.hero-copy {
    animation: copyIn 0.95s var(--ease) 0.08s both;
}

@keyframes stageIn {
    from { opacity: 0; transform: translateX(40px) scale(1.03); }
    to { opacity: 1; transform: none; }
}

@keyframes copyIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 2.75rem 0;
}

.proof-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.proof-row blockquote,
.quote-grid blockquote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.35rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.proof-row blockquote:hover,
.quote-grid blockquote:hover {
    border-color: #c9d0e2;
    box-shadow: var(--shadow-sm);
}

.proof-row p,
.quote-grid p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 1.15rem;
}

.proof-row footer,
.quote-grid footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--blue), #3d4dff);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.proof-row footer strong,
.quote-grid footer strong {
    display: block;
    font-size: 0.9rem;
    color: var(--ink);
}

.proof-row footer small,
.quote-grid footer small {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ========== VALUE ========== */
.value {
    padding: 6rem 0;
    background:
        linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.value-block {
    padding: 2rem 1.75rem 0.5rem 0;
    border-right: 1px solid var(--line);
}

.value-block:last-child {
    border-right: 0;
    padding-right: 0;
}

.value-block:not(:first-child) {
    padding-left: 1.75rem;
}

.value-index {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue);
    letter-spacing: 0.04em;
    margin-bottom: 1.1rem;
}

.value-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.value-block p {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 28ch;
}

/* ========== DEMO ========== */
.demo {
    padding: 5.5rem 0;
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.demo::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 70%;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 16, 239, 0.35), transparent 70%);
    pointer-events: none;
}

.demo .container {
    position: relative;
    z-index: 1;
}

.demo .eyebrow {
    color: #9eb0ff;
}

.demo .section-lead {
    color: rgba(255, 255, 255, 0.6);
}

.demo-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
    background: #000;
}

.demo-chrome {
    background: #121826;
}

.demo-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* ========== MODULES ========== */
.modules {
    padding: 6rem 0 5rem;
}

.module-list {
    display: grid;
    gap: 4rem;
}

.module {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.module:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
}

.module:nth-child(even) .module-media {
    order: 2;
}

.module-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 340px;
    background-color: #dfe4f5;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(10, 15, 28, 0.06);
}

.module-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(0, 16, 239, 0.12));
    pointer-events: none;
    z-index: 0;
}

.module-media::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(10, 15, 28, 0.08);
    pointer-events: none;
    z-index: 0;
}

.module-media > * {
    position: relative;
    z-index: 1;
}

.module-media img {
    max-width: min(440px, 100%);
    filter: drop-shadow(0 22px 40px rgba(10, 15, 28, 0.28));
    transition: transform 0.6s var(--ease);
}

.module:hover .module-media img {
    transform: translateY(-8px) scale(1.02);
}

.module-index {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.module-body h3 {
    font-size: clamp(1.55rem, 2.2vw, 1.9rem);
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.module-body p {
    color: var(--slate);
    margin-bottom: 1.25rem;
    max-width: 40ch;
    line-height: 1.65;
    font-size: 1.05rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.text-link span {
    transition: transform 0.25s var(--ease);
}

.text-link:hover span {
    transform: translateX(4px);
}

.extras {
    margin-top: 4.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.extra {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.extra:hover {
    border-color: #c5cce0;
    transform: translateY(-3px);
}

.extra-icon {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    height: 2rem;
    padding-inline: 0.45rem;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.extra h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.extra p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ========== FLOW ========== */
.flow {
    padding: 5.5rem 0;
    background: var(--paper);
}

.flow-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.flow-steps li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.flow-steps li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #5a6dff);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.flow-steps li:hover::after {
    opacity: 1;
}

.step-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.flow-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
    font-weight: 700;
}

.flow-steps p {
    color: var(--slate);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* ========== COMPARE ========== */
.compare {
    padding: 5.5rem 0;
}

.compare-table {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
}

.compare-row > div {
    padding: 1.05rem 1.25rem;
    font-size: 0.97rem;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.compare-row > div:last-child {
    border-right: 0;
}

.compare-row:last-child > div {
    border-bottom: 0;
}

.compare-head {
    background: var(--ink);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 0.95rem;
}

.compare-head > div {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.compare-row:not(.compare-head) > div:first-child {
    font-weight: 600;
    background: #fafbfe;
    color: var(--ink);
}

.ok {
    color: #07855c;
    font-weight: 700;
}

.no {
    color: var(--muted);
}

.mid {
    color: var(--warn);
    font-weight: 600;
}

/* ========== QUOTES ========== */
.quotes {
    padding: 5.5rem 0;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(0, 16, 239, 0.05), transparent 40%),
        var(--paper);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.quote-grid blockquote {
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

/* ========== PRICING ========== */
.pricing {
    padding: 6rem 0 5rem;
    background: #fff;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    align-items: stretch;
    max-width: 1200px;
    margin-inline: auto;
}

.price-plan {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem 1.6rem 1.6rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.price-plan.is-featured {
    border-color: transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(160deg, var(--blue), #6b7bff) border-box;
    border: 2px solid transparent;
    box-shadow: 0 24px 60px rgba(0, 16, 239, 0.16);
    transform: scale(1.03);
    z-index: 1;
}

.price-plan.is-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.price-tag {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}

.price-plan h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.price-was {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.88rem;
}

.price {
    margin: 0.5rem 0 1.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.05em;
    line-height: 1;
}

.price small {
    color: var(--muted);
    font-size: 0.95rem;
}

.price-plan ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.price-plan li {
    font-size: 0.95rem;
    color: var(--slate);
    padding-left: 1.5rem;
    position: relative;
}

.price-plan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: rgba(0, 181, 122, 0.15);
    box-shadow: inset 0 0 0 3.5px var(--rank);
}

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

.price-plan li.muted::before {
    background: var(--line);
    box-shadow: inset 0 0 0 3.5px #b8c0d0;
}

.price-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ========== FAQ ========== */
.faq {
    padding: 5.5rem 0;
    background: var(--paper);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 0.6rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 1.2rem;
    transition: border-color 0.25s var(--ease);
}

.faq-item[open] {
    border-color: #b8c2db;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    padding: 1.05rem 0;
    list-style: none;
    font-size: 1.02rem;
}

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

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--blue);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    color: var(--slate);
    padding-bottom: 1.1rem;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 54ch;
}

/* ========== CLOSING ========== */
.closing {
    padding: 6.5rem 0;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(0, 16, 239, 0.45), transparent 55%),
        var(--hero-ink);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    pointer-events: none;
}

.closing-inner {
    position: relative;
    z-index: 1;
}

.closing .eyebrow {
    color: #9eb0ff;
    justify-content: center;
}

.closing-inner h2 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    max-width: 16ch;
    margin: 0 auto 1rem;
    font-weight: 800;
}

.closing-inner > p {
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.closing .hero-cta {
    justify-content: center;
}

/* Resources hub on home */
.resources {
    padding: 5.5rem 0;
    background: var(--paper);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.resource-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #b8c2db;
}

.resource-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.85rem;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
    color: var(--ink);
}

.resource-card p {
    color: var(--slate);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-block: 3rem 0;
        width: min(100% - 1.5rem, 1220px);
    }

    .hero-title {
        max-width: none;
    }

    .hero-visual {
        margin-right: 0;
    }

    .hero-stage {
        border-radius: 16px 16px 0 0;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .proof-row,
    .value-grid,
    .extras,
    .flow-steps,
    .quote-grid,
    .price-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .value-block,
    .value-block:not(:first-child) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1.5rem 0;
    }

    .value-block:last-child {
        border-bottom: 0;
    }

    .module,
    .module:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module:nth-child(even) .module-media {
        order: 0;
    }

    .module-media {
        min-height: 260px;
    }

    .price-plan.is-featured {
        transform: none;
    }

    .price-plan.is-featured:hover {
        transform: translateY(-4px);
    }

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

    .compare-row > div {
        border-right: 0;
    }

    .compare-head {
        display: none;
    }

    .compare-row:not(.compare-head) > div:nth-child(2)::before {
        content: "HerramientaSEO · ";
        font-weight: 700;
        color: var(--ink);
    }

    .compare-row:not(.compare-head) > div:nth-child(3)::before {
        content: "Suites premium · ";
        font-weight: 700;
        color: var(--ink);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-copy,
    .hero-stage,
    .module-media img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* —— Home en viewport ancho (hasta 1380) —— */
@media (min-width: 1280px) {
    .section-head-wide {
        max-width: 52rem;
    }

    .hero-copy h1,
    .hero-title {
        font-size: clamp(2.85rem, 4.4vw, 4.35rem);
        max-width: 12.5ch;
    }

    .hero-lead {
        max-width: 42ch;
        font-size: 1.2rem;
    }

    .hero-layout {
        padding-block: 4.5rem 5rem;
    }
}

.page-home .site-header {
    border-bottom: 1px solid transparent;
}

.page-home .site-header.is-scrolled {
    border-bottom-color: rgba(226, 230, 239, 0.85);
    box-shadow: 0 8px 28px rgba(10, 15, 28, 0.06);
}

/* ==============================================
   VISIÓN v2 — serio, potente, editorial SaaS
================================================= */

.page-home {
    --hero-ink: #04060f;
}

/* Header transparente sobre hero */
.page-home .site-header {
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-home .site-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.page-home .site-header:not(.is-scrolled) .brand-name,
.page-home .site-header:not(.is-scrolled) .nav-link,
.page-home .site-header:not(.is-scrolled) .nav-sub-btn,
.page-home .site-header:not(.is-scrolled) .btn-ghost {
    color: rgba(255, 255, 255, 0.92);
}

.page-home .site-header:not(.is-scrolled) .nav-toggle span {
    background: #fff;
}

.page-home .site-header:not(.is-scrolled) .btn-primary {
    box-shadow: 0 10px 28px rgba(0, 16, 239, 0.45);
}

.page-home .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(228, 232, 240, 0.95);
    box-shadow: 0 10px 30px rgba(7, 11, 20, 0.06);
    backdrop-filter: blur(16px) saturate(1.2);
}

/* Hero más monumental */
.hero {
    min-height: calc(100svh - 0px);
    padding-top: var(--header-h);
}

.hero-plane {
    background:
        radial-gradient(ellipse 50% 55% at 92% 42%, rgba(0, 16, 239, 0.62), transparent 58%),
        radial-gradient(ellipse 28% 32% at 6% 88%, rgba(173, 232, 132, 0.12), transparent 55%),
        linear-gradient(168deg, #03050c 0%, #0a1230 42%, #050812 100%);
}

.hero-glow {
    position: absolute;
    width: min(52vw, 640px);
    height: min(52vw, 640px);
    right: -8%;
    top: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 16, 239, 0.35), transparent 68%);
    filter: blur(40px);
    pointer-events: none;
    animation: glowPulse 7s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.55; transform: scale(1); }
    to { opacity: 0.95; transform: scale(1.08); }
}

.hero-brand {
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    margin-bottom: 1.1rem;
    letter-spacing: -0.05em;
}

.hero-title {
    font-size: clamp(2.65rem, 5.6vw, 4.55rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
    max-width: 13ch;
    margin-bottom: 1.35rem;
}

.hero-lead {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.1rem;
}

.hero-trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.35rem;
    margin-top: 1.5rem;
    padding: 0;
}

.hero-trust-list li {
    position: relative;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 1rem;
}

.hero-trust-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ade884;
}

.hero-visual {
    margin-right: calc(-1 * max(0px, (100vw - var(--container-max, 1380px)) / 2 + 1rem));
}

.hero-stage {
    border-radius: 14px 0 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
    box-shadow:
        -40px 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero-media {
    min-height: min(62vh, 560px);
}

/* Signal bar */
.signal-bar {
    background: var(--ink);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-block: 1.35rem;
}

.signal-bar-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.signal-bar-grid strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.signal-bar-grid span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Social proof más editorial */
.social-proof {
    padding: 3.5rem 0;
    background: #fff;
}

.proof-row blockquote,
.quote-grid blockquote {
    background: transparent;
    border: 0;
    border-left: 3px solid var(--blue);
    border-radius: 0;
    padding: 0.15rem 0 0.15rem 1.15rem;
    box-shadow: none;
}

.proof-row blockquote:hover,
.quote-grid blockquote:hover {
    border-color: var(--blue);
    box-shadow: none;
}

/* Value blocks */
.value {
    padding: 5.5rem 0;
    background:
        linear-gradient(180deg, var(--paper) 0%, #fff 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.value-block {
    padding: 2rem 1.75rem 2rem 0;
    border-right: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.value-block:last-child {
    border-right: 0;
    padding-right: 0;
}

.value-index {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.08em;
}

.value-block h3 {
    margin: 0.85rem 0 0.65rem;
    font-size: 1.45rem;
}

/* Modules: más producto, menos “card” */
.module-media {
    border-radius: 12px;
    min-height: 380px;
    box-shadow: none;
    border: 1px solid var(--line);
    background-color: #eef1f8;
}

.module-index {
    color: var(--blue);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.module-body h3 {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
}

/* Demo */
.demo {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 16, 239, 0.28), transparent 55%),
        #04060f;
}

.demo-frame {
    border-radius: 12px;
}

/* Pricing */
.price-plan {
    border-radius: 12px;
}

.price-plan.is-featured {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* Closing CTA */
.closing,
.cta-section {
    background:
        radial-gradient(700px 320px at 85% 20%, rgba(0, 16, 239, 0.4), transparent 60%),
        linear-gradient(135deg, #04060f 0%, #0a1450 55%, #0010ef 160%);
}

@media (max-width: 960px) {
    .signal-bar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .signal-bar-grid > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        padding-right: 0;
    }

    .signal-bar-grid > div:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

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

    .value-block {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1.5rem 0;
    }

    .hero-visual {
        margin-right: 0;
    }

    .hero-stage {
        border-radius: 12px;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
    }

    .page-home .site-header:not(.is-scrolled) .nav-panel {
        background: rgba(4, 6, 15, 0.96);
    }
}

@media (min-width: 1280px) {
    .hero-layout {
        gap: 3.5rem 4.5rem;
        padding-block: 5rem 5.5rem;
    }

    .section-head h2 {
        font-size: clamp(2.2rem, 3.2vw, 3.15rem);
    }
}

/* Dropdowns legibles sobre hero oscuro */
.page-home .site-header:not(.is-scrolled) .nav-sub {
    background: #0b1224;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.page-home .site-header:not(.is-scrolled) .nav-sub a {
    color: rgba(255, 255, 255, 0.88);
}

.page-home .site-header:not(.is-scrolled) .nav-sub a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.page-home .site-header:not(.is-scrolled) .has-sub.is-open > .nav-sub-btn {
    color: #fff;
}

/* Quitar look de card en value-block original */
.page-home .value-block {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.page-home .value-block:not(:first-child) {
    border-left: 0;
    padding-left: 0;
}

/* ==============================================
   VISIÓN v2b — precios, flujo, recursos, cierre
================================================= */

.page-home .extras {
    gap: 0;
    border-top: 1px solid var(--line);
}

.page-home .extra {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 1.75rem 1.5rem 1.75rem 0;
    box-shadow: none;
}

.page-home .extra:last-child {
    border-right: 0;
    padding-right: 0;
}

.page-home .extra:hover {
    transform: none;
    border-color: transparent;
}

.page-home .extra-icon {
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
}

.page-home .flow {
    background: #fff;
    border-top: 1px solid var(--line);
}

.page-home .flow-steps {
    gap: 0;
    border-top: 1px solid var(--line);
}

.page-home .flow-steps li {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 2rem 1.75rem 2rem 0;
    overflow: visible;
}

.page-home .flow-steps li:last-child {
    border-right: 0;
    padding-right: 0;
}

.page-home .flow-steps li::after {
    display: none;
}

.page-home .compare-table {
    border-radius: 10px;
    box-shadow: none;
}

.page-home .compare-head {
    background: var(--ink);
}

.page-home .quotes {
    background: #fff;
}

.page-home .quote-grid blockquote {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 1.5rem 0 0;
    min-height: auto;
}

.page-home .pricing {
    background:
        linear-gradient(180deg, var(--paper) 0%, #fff 35%);
    padding-block: 6.5rem 5.5rem;
}

.page-home .price-plan {
    border-radius: 12px;
    padding: 2.1rem 1.7rem 1.7rem;
    background: #fff;
}

.page-home .price-plan.is-featured {
    transform: translateY(-10px) scale(1);
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, #0010ef, #3a4fff 55%, #ade884) border-box;
    border: 2px solid transparent;
    box-shadow: 0 28px 70px rgba(0, 16, 239, 0.18);
}

.page-home .price-plan.is-featured:hover {
    transform: translateY(-14px);
}

.page-home .price-tag {
    border-radius: 6px;
    letter-spacing: 0.08em;
}

.page-home .price span {
    font-size: 2.75rem;
}

.page-home .faq-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
}

.page-home .faq-item summary {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.page-home .resources {
    background: var(--ink);
    color: #fff;
}

.page-home .resources .eyebrow {
    color: #ade884;
}

.page-home .resources .section-head h2,
.page-home .resources .section-lead {
    color: #fff;
}

.page-home .resources .section-lead {
    color: rgba(255, 255, 255, 0.65);
}

.page-home .resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.page-home .resource-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.6rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .resource-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(173, 232, 132, 0.45);
    transform: translateY(-3px);
}

.page-home .resource-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ade884;
    margin-bottom: 0.75rem;
}

.page-home .resource-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-home .resource-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.98rem;
    line-height: 1.55;
}

.page-home .closing {
    padding: 6rem 0;
    text-align: center;
}

.page-home .closing-inner {
    max-width: 46rem;
    margin-inline: auto;
}

.page-home .closing-brand {
    justify-content: center;
    margin-bottom: 1.25rem;
}

.page-home .closing h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #fff;
    margin-bottom: 1rem;
}

.page-home .closing p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
}

.page-home .closing .hero-cta {
    justify-content: center;
}

/* Lead magnet */
.page-home .lead-magnet {
    padding: 4.5rem 0;
    background:
        radial-gradient(600px 260px at 0% 50%, rgba(0, 16, 239, 0.1), transparent 55%),
        var(--paper);
    border-top: 1px solid var(--line);
}

.page-home .lead-magnet-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.page-home .lead-magnet-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
    margin: 0.5rem 0 0.85rem;
    max-width: 22ch;
}

.page-home .lead-magnet-copy p:not(.eyebrow) {
    color: var(--slate);
    font-size: 1.05rem;
    max-width: 42ch;
    margin-bottom: 1.35rem;
    line-height: 1.55;
}

.page-home .lead-magnet-preview {
    list-style: none;
    margin: 0;
    padding: 1.5rem 1.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(7, 11, 20, 0.06);
    display: grid;
    gap: 0.85rem;
}

.page-home .lead-magnet-preview li {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
}

.page-home .lead-magnet-preview span {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
    min-width: 1.6rem;
}

@media (max-width: 960px) {
    .page-home .extra,
    .page-home .flow-steps li {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 1.5rem 0;
    }

    .page-home .extras,
    .page-home .flow-steps,
    .page-home .lead-magnet-inner {
        grid-template-columns: 1fr;
    }

    .page-home .resources-grid {
        grid-template-columns: 1fr;
    }

    .page-home .price-plan.is-featured {
        transform: none;
    }
}

.page-home .price-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.5rem;
    margin-top: 1.5rem;
    padding: 0;
    color: var(--slate);
    font-size: 0.92rem;
}

.page-home .price-trust li {
    position: relative;
    padding-left: 1.1rem;
}

.page-home .price-trust li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.page-home .stack {
    padding: 5rem 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.page-home .stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 880px;
    margin: 0 auto;
}

.page-home .stack-col {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.6rem 1.5rem;
}

.page-home .stack-col.is-ours {
    border-color: rgba(0, 16, 239, 0.35);
    background:
        radial-gradient(380px 160px at 100% 0%, rgba(0, 16, 239, 0.1), transparent 55%),
        #fff;
    box-shadow: 0 16px 40px rgba(0, 16, 239, 0.08);
}

.page-home .stack-col h3 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.page-home .stack-col ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    color: var(--slate);
}

.page-home .stack-col li {
    padding-left: 1rem;
    position: relative;
}

.page-home .stack-col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c5cad6;
}

.page-home .stack-col.is-ours li::before {
    background: var(--blue);
}

.page-home .stack-price {
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.page-home .stack-col.is-ours .stack-price {
    color: var(--blue);
}

.page-home .stack-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .page-home .stack-grid {
        grid-template-columns: 1fr;
    }
}
