:root {
    --negro: #0a0a0f;
    --azul-noche: #0d0d2b;
    --dorado: #e0b76b; /* Dorado más cálido y metálico */
    --purpura: #7b2ff7;
    --azul-estelar: #4fc3f7;
    --blanco: #ffffff;
    --blanco-80: rgba(255, 255, 255, 0.8);
    --blanco-60: rgba(255, 255, 255, 0.6);
    --blanco-40: rgba(255, 255, 255, 0.4);
    --gris-claro: #b0b0c0;
    --gris-suave: rgba(255, 255, 255, 0.08);
    --borde: rgba(255, 255, 255, 0.12);
    --gradiente-fondo: linear-gradient(180deg, #0a0a0f 0%, #0d0d2b 100%);
    --gradiente-dorado: linear-gradient(135deg, #e0b76b, #7b2ff7);
    --gradiente-card: linear-gradient(180deg, rgba(17, 17, 38, 0.88), rgba(10, 10, 15, 0.9));
    --sombra-glow: 0 24px 80px rgba(123, 47, 247, 0.18);
    --sombra-card: 0 18px 60px rgba(0, 0, 0, 0.35);
    --radio-xl: 32px;
    --radio-lg: 24px;
    --radio-md: 18px;
    --radio-sm: 12px;
    --container: 1180px;
    --tracking-tight: -0.02em;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(79, 195, 247, 0.12), transparent 28%),
        radial-gradient(circle at left 20%, rgba(123, 47, 247, 0.18), transparent 36%),
        linear-gradient(180deg, #090912 0%, #0c102a 54%, #080913 100%);
    color: var(--blanco);
    font-family: "Inter", "DM Sans", sans-serif;
    line-height: 1.65; /* Mayor legibilidad */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--dorado);
    outline-offset: 4px;
    box-shadow: 0 0 20px rgba(224, 183, 107, 0.4);
}

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

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

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

button {
    cursor: pointer;
}

body.nav-open {
    overflow: hidden;
}

.site-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.8;
}

.bg-orbit {
    position: fixed;
    inset: auto auto -220px -220px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.16), rgba(123, 47, 247, 0.04), transparent 70%);
    filter: blur(14px);
    z-index: -1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px);
    background: rgba(8, 9, 18, 0.4);
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(8, 9, 18, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.24), rgba(123, 47, 247, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark img {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a,
.nav-actions a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-actions a:hover {
    color: var(--blanco);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

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

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--borde);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    color: var(--blanco);
}

.hero {
    padding: 72px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(224, 183, 107, 0.08);
    border: 1px solid rgba(224, 183, 107, 0.16);
    color: var(--dorado);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: "Cinzel", serif;
}

.hero h1,
.page-title {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 1.05;
    letter-spacing: var(--tracking-tight);
    font-weight: 700;
}

.hero-copy {
    font-size: clamp(1.1rem, 2.2vw, 1.28rem);
    color: var(--blanco-80);
    max-width: 60ch;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

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

.btn:active {
    transform: translateY(0) scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, #e0b76b, #9f5cf0);
    color: #050508;
    box-shadow: 
        0 8px 24px rgba(159, 92, 240, 0.2),
        0 1px 1px rgba(255, 255, 255, 0.4) inset;
}

.btn-primary:hover {
    box-shadow: 
        0 14px 36px rgba(159, 92, 240, 0.32),
        0 1px 1px rgba(255, 255, 255, 0.5) inset;
    filter: brightness(1.08);
}

.btn-secondary {
    border-color: var(--borde);
    background: rgba(255, 255, 255, 0.03);
    color: var(--blanco);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--blanco-60);
}

.btn-ghost:hover {
    color: var(--blanco);
    background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.card,
.glass-card,
.panel,
.pricing-card,
.timeline-card,
.faq-card,
.blog-card,
.calendar-card,
.wish-card,
.dashboard-card,
.empty-state {
    position: relative;
    border: 1px solid var(--borde);
    border-radius: var(--radio-xl);
    background: var(--gradiente-card);
    box-shadow: var(--sombra-card);
    overflow: hidden;
    backdrop-filter: blur(24px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-panel::before,
.card::before,
.pricing-card::before,
.blog-card::before,
.calendar-card::before,
.wish-card::before,
.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%);
    pointer-events: none;
}

.card:hover,
.pricing-card:hover,
.blog-card:hover,
.wish-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(123, 47, 247, 0.05);
    transform: translateY(-4px);
}

.hero-panel {
    padding: 30px;
    min-height: 460px;
}

.hero-sphere {
    position: absolute;
    inset: 55px 52px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(212, 168, 83, 0.24), transparent 42%),
        radial-gradient(circle at 60% 60%, rgba(79, 195, 247, 0.16), transparent 54%),
        linear-gradient(135deg, #0d1038, #1a1245);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 90px rgba(123, 47, 247, 0.22);
}

.hero-stat {
    display: grid;
    gap: 8px;
    padding: 18px 0 0;
}

.stat-grid,
.grid-2,
.grid-3,
.grid-4,
.feature-grid,
.pricing-grid,
.blog-grid,
.calendar-grid,
.dashboard-grid,
.wish-grid,
.footer-grid,
.metrics-grid {
    display: grid;
    gap: 20px;
}

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

.grid-3,
.pricing-grid,
.blog-grid,
.wish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-title {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.section-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 68ch;
}

.metric {
    padding: 24px;
}

.metric strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.metric span,
.muted {
    color: rgba(255, 255, 255, 0.66);
}

.card,
.panel,
.timeline-card,
.faq-card,
.blog-card,
.calendar-card,
.wish-card,
.dashboard-card,
.empty-state {
    padding: 24px;
}

.card h3,
.panel h3,
.pricing-card h3,
.blog-card h3,
.wish-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.card p,
.panel p,
.pricing-card p,
.blog-card p,
.wish-card p,
.calendar-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.step-number,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-number {
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.badge {
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.2);
    color: #f7e6bd;
}

.badge-highlight {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.24), rgba(123, 47, 247, 0.18));
}

.pricing-card {
    padding: 30px;
    display: grid;
    gap: 18px;
}

.pricing-card.featured {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.45);
    box-shadow: 0 28px 84px rgba(212, 168, 83, 0.12);
}

.price {
    display: flex;
    align-items: end;
    gap: 10px;
}

.price strong {
    font-size: 3rem;
    font-weight: 700;
    line-height: 0.9;
}

.price small {
    color: rgba(255, 255, 255, 0.58);
}

.pricing-list,
.check-list,
.inline-list,
.post-meta,
.meta-row {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li,
.check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.pricing-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0b76b, #68ccff);
    box-shadow: 0 0 14px rgba(79, 195, 247, 0.5);
}

.form-card,
.auth-card {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    gap: 18px;
}

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

.field label {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.86);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radio-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--blanco);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: rgba(212, 168, 83, 0.56);
    box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.08);
    background: rgba(255, 255, 255, 0.07);
}

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

.hint,
.field small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.toggle-row,
.checkbox-row,
.inline-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-option {
    flex: 1 1 180px;
    position: relative;
}

.pill-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.pill-card {
    height: 100%;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pill-option input:checked + .pill-card {
    border-color: rgba(212, 168, 83, 0.44);
    background: linear-gradient(180deg, rgba(212, 168, 83, 0.12), rgba(123, 47, 247, 0.07));
    box-shadow: 0 18px 42px rgba(212, 168, 83, 0.08);
    transform: translateY(-3px);
}

.flash-stack {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.flash {
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.flash-success {
    border-color: rgba(99, 204, 163, 0.34);
    background: rgba(99, 204, 163, 0.08);
}

.flash-error {
    border-color: rgba(255, 102, 121, 0.34);
    background: rgba(255, 102, 121, 0.08);
}

.flash-info {
    border-color: rgba(79, 195, 247, 0.34);
    background: rgba(79, 195, 247, 0.08);
}

.accordion {
    display: grid;
    gap: 14px;
}

.accordion-item {
    border-radius: var(--radio-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    padding: 20px 22px;
    background: none;
    border: 0;
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.accordion-item.open .accordion-panel {
    max-height: 280px;
}

.accordion-panel-inner {
    padding: 0 22px 22px;
    color: rgba(255, 255, 255, 0.72);
}

.page-hero {
    padding: 64px 0 24px;
}

.page-subtitle {
    max-width: 70ch;
    color: rgba(255, 255, 255, 0.7);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

th {
    color: rgba(255, 255, 255, 0.58);
    font-weight: 600;
}

.wish-card .wish-meta,
.blog-card .post-meta,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

.cert-preview {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top, rgba(212, 168, 83, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(14, 14, 31, 0.92), rgba(7, 8, 14, 0.96));
    padding: 28px;
    min-height: 420px;
}

.cert-preview img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-event {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-event:last-child {
    border-bottom: 0;
}

.calendar-date {
    min-width: 76px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.countdown-item {
    min-width: 90px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.countdown-item strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.footer {
    padding: 54px 0 32px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 7, 13, 0.72);
    backdrop-filter: blur(14px);
}

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

.footer small {
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-count {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.64);
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #d4a853 52%, #7b2ff7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.center {
    text-align: center;
}

.spacer-top {
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .hero-grid,
    .grid-2,
    .feature-grid,
    .dashboard-grid,
    .grid-3,
    .pricing-grid,
    .blog-grid,
    .wish-grid,
    .footer-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .nav-links,
    .nav-actions {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        background: rgba(8, 9, 18, 0.96);
        backdrop-filter: blur(28px);
        padding: 40px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.is-open,
    .nav-actions.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav-links {
        padding-bottom: 200px;
    }

    .nav-actions {
        background: transparent;
        backdrop-filter: none;
        z-index: 101;
        justify-content: flex-end;
        padding-bottom: 60px;
    }

    .nav-links a,
    .nav-actions a {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 12px 24px;
        color: var(--blanco);
    }

    .nav {
        flex-wrap: nowrap;
    }

    .nav-toggle {
        display: inline-flex;
        position: relative;
        z-index: 110;
        border: 0;
        background: rgba(255, 255, 255, 0.08);
    }

    .hero {
        padding-top: 44px;
    }

    .hero h1,
    .page-title {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .hero-panel {
        padding: 24px;
    }

    .section {
        padding: 36px 0;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

    .calendar-event {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .btn,
    .hero-actions .btn,
    .button-row .btn {
        width: 100%;
    }

    .price strong {
        font-size: 2.5rem;
    }

    .pill-group {
        display: grid;
    }
}

/* Layout refinements */

main {
    position: relative;
    z-index: 1;
}

.home-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.home-hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.feature-grid > *,
.pricing-grid > *,
.blog-grid > *,
.wish-grid > *,
.dashboard-grid > *,
.metrics-grid > * {
    min-width: 0;
}

.hero {
    padding: 88px 0 40px;
}

.hero-copy,
.section-subtitle,
.page-subtitle,
.card p,
.panel p,
.wish-card p,
.blog-card p {
    max-width: 66ch;
}

.hero-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hero-rail-item {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-rail-item strong,
.hero-event-card strong {
    font-size: 1rem;
    line-height: 1.2;
}

.hero-rail-item span,
.hero-panel-copy,
.hero-event-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
}

.hero-panel {
    display: grid;
    gap: 22px;
    align-content: start;
    min-height: 100%;
    padding: 34px;
    isolation: isolate;
    overflow: hidden;
}

.hero-observatory {
    gap: 20px;
    background:
        radial-gradient(circle at 88% 10%, rgba(123, 47, 247, 0.18), transparent 24%),
        radial-gradient(circle at 12% 92%, rgba(79, 195, 247, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(18, 17, 40, 0.94), rgba(9, 10, 18, 0.97));
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.hero-panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 290px);
    gap: 24px;
    align-items: center;
}

.hero-panel-head > * {
    min-width: 0;
}

.hero-panel-top {
    max-width: none;
    padding-right: 0;
    display: grid;
    gap: 10px;
}

.hero-panel-copy {
    max-width: 35ch;
}

.hero-celestial-stage {
    position: relative;
    min-height: 296px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.08), transparent 12%),
        radial-gradient(circle at 70% 76%, rgba(79, 195, 247, 0.14), transparent 24%),
        radial-gradient(circle at 64% 34%, rgba(123, 47, 247, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(7, 9, 23, 0.96), rgba(16, 18, 43, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 22px 50px rgba(2, 3, 10, 0.28);
    overflow: hidden;
}

.hero-celestial-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero-celestial-stage::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: 28px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 70%);
    filter: blur(6px);
    opacity: 0.58;
}

.hero-stage-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 23, 0.52);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-stage-tag-top {
    top: 18px;
    left: 18px;
}

.hero-stage-tag-bottom {
    left: 18px;
    bottom: 18px;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    pointer-events: none;
}

.hero-orbit-one {
    inset: 36px 34px 48px 70px;
    transform: rotate(-14deg);
}

.hero-orbit-two {
    inset: 20px 16px 62px 48px;
    border-color: rgba(255, 255, 255, 0.07);
    transform: rotate(18deg);
}

.hero-sphere {
    inset: 68px 42px auto auto;
    width: 164px;
    height: 164px;
    opacity: 1;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 34% 30%, rgba(255, 248, 220, 1), rgba(255, 241, 211, 0.92) 12%, rgba(223, 188, 115, 0.9) 28%, rgba(123, 88, 43, 0.14) 62%, rgba(20, 16, 32, 0) 72%),
        linear-gradient(145deg, #f5e7bf 0%, #b98b58 50%, #85652f 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 34px rgba(240, 205, 139, 0.25),
        0 0 90px rgba(123, 47, 247, 0.24);
}

.hero-sphere::before {
    content: "";
    position: absolute;
    inset: 18px 20px 34px 28px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.14), transparent 22%),
        radial-gradient(circle at 70% 58%, rgba(118, 91, 45, 0.24), transparent 12%),
        radial-gradient(circle at 48% 72%, rgba(118, 91, 45, 0.18), transparent 14%);
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.hero-sphere::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0.55;
}

.hero-satellite,
.hero-star {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
}

.hero-satellite {
    box-shadow: 0 0 18px currentColor;
    background: currentColor;
}

.hero-satellite-one {
    top: 56px;
    left: 96px;
    width: 10px;
    height: 10px;
    color: #f8d288;
}

.hero-satellite-two {
    right: 66px;
    bottom: 74px;
    width: 12px;
    height: 12px;
    color: #8fd8ff;
}

.hero-satellite-three {
    left: 54px;
    bottom: 86px;
    width: 7px;
    height: 7px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-star {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.55);
}

.hero-star-one {
    top: 46px;
    right: 112px;
}

.hero-star-two {
    top: 112px;
    left: 58px;
}

.hero-star-three {
    right: 44px;
    bottom: 112px;
}

.hero-star-four {
    left: 132px;
    bottom: 54px;
}

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

.hero-event-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(10px);
}

.hero-rail-item,
.hero-event-card,
.metric.card,
.request-main > * {
    min-width: 0;
}

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

.hero-stat {
    display: inline-grid;
    gap: 8px;
    max-width: fit-content;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-stat strong {
    line-height: 0.92;
}

.metric.card {
    min-height: 100%;
}

.hero-observatory .metric.card {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.feature-grid,
.process-grid,
.tier-grid,
.home-utility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid .card,
.home-utility-grid .card,
.pricing-card,
.wish-card,
.blog-card,
.dashboard-card {
    min-height: 100%;
}

.pricing-grid {
    align-items: stretch;
}

.pricing-card {
    min-width: 0;
}

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

.price {
    flex-wrap: wrap;
}

.price strong {
    font-size: clamp(2.3rem, 4vw, 3.05rem);
    overflow-wrap: anywhere;
}

.showcase-grid {
    align-items: center;
}

.wish-card,
.blog-card,
.pricing-card,
.card,
.dashboard-card,
.panel {
    overflow-wrap: anywhere;
}

.wish-card {
    display: grid;
    align-content: start;
    gap: 10px;
}

.wish-card .button-row {
    margin-top: auto;
}

.form-card {
    max-width: min(100%, 1100px);
}

.request-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) 360px;
    gap: 24px;
    align-items: start;
}

.request-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.request-side {
    min-width: 0;
}

.sticky-card {
    position: sticky;
    top: 110px;
}

.summary-card {
    padding: 28px;
}

.summary-price {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
}

.summary-divider {
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
}

.form-block {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(17, 17, 38, 0.88), rgba(10, 10, 15, 0.92));
    box-shadow: var(--sombra-card);
}

.form-block-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.form-block-title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.2;
}

.form-block-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.field-grid-2,
.field-grid-3 {
    display: grid;
    gap: 18px;
}

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

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

.char-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.checkbox-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.84);
}

.checkbox-card input {
    margin: 0;
}

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

.pill-option {
    min-width: 0;
}

.pill-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 100%;
    padding: 22px;
}

.pill-card strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.pill-card small {
    color: var(--blanco);
    font-size: 1.12rem;
    font-weight: 700;
}

.button-row {
    align-items: center;
}

@media (max-width: 1200px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel-head {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 1024px) {
    .grid-2,
    .dashboard-grid,
    .request-layout,
    .showcase-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .process-grid,
    .grid-3,
    .pricing-grid,
    .blog-grid,
    .wish-grid,
    .home-utility-grid,
    .pill-group,
    .field-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-panel-head {
        grid-template-columns: 1fr;
    }

    .hero-celestial-stage {
        min-height: 260px;
    }

    .sticky-card {
        position: static;
    }

    .hero-panel {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 56px 0 28px;
    }

    .hero-rail,
    .hero-event-grid,
    .feature-grid,
    .process-grid,
    .grid-3,
    .pricing-grid,
    .blog-grid,
    .wish-grid,
    .home-utility-grid,
    .pill-group,
    .field-grid-2,
    .field-grid-3,
    .metrics-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .form-block,
    .summary-card {
        padding: 22px;
    }

    .hero-panel-head {
        gap: 18px;
    }

    .hero-celestial-stage {
        min-height: 224px;
        border-radius: 24px;
    }

    .hero-stage-tag {
        padding: 7px 10px;
        font-size: 0.68rem;
    }

    .hero-sphere {
        inset: 54px 26px auto auto;
        width: 132px;
        height: 132px;
    }

    .hero-orbit-one {
        inset: 30px 24px 44px 46px;
    }

    .hero-orbit-two {
        inset: 18px 12px 52px 30px;
    }

    .hero-star-four {
        left: 104px;
    }
}

@media (max-width: 480px) {
    .hero-stage-tag-bottom {
        display: none;
    }
}
