/* =========================================
   DESIGN TOKENS & VARIABLES (Punto Services)
   ========================================= */
:root {
    --primary: #039df9;
    --primary-container: #0290e6;
    --primary-soft: #7cd4ff;
    --on-primary: #ffffff;

    --surface: #f8f9ff;
    --surface-container: #b3d9f7;
    --surface-container-low: #cfe6ff;
    --on-surface: #0b1c30;
    --on-surface-variant: #3f4850;

    --accent-violet: #7c5cff;
    --accent-pink: #ff5ca8;

    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-chromatic: 0px 10px 25px -5px rgba(3, 157, 249, 0.15);
    --shadow-glow: 0 20px 50px rgba(3, 157, 249, 0.22);
    --radius-btn: 9999px;
    --radius-card: 24px;

    --fs-display: clamp(32px, 3.4vw + 18px, 52px);
    --fs-h2: clamp(26px, 2.2vw + 15px, 36px);
    --fs-h3: clamp(19px, 1.4vw + 13px, 24px);
    --fs-body: clamp(16px, 0.9vw + 13px, 18px);
    --fs-block: clamp(20px, 1.2vw + 14px, 24px);
    --fs-meta: clamp(14px, 0.6vw + 11px, 15px);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--surface);
    color: var(--on-surface);
    line-height: 1.5;
    padding-top: 88px;
}

h1, h2, h3, .logo, .footer-logo {
    font-family: var(--font-display);
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 1024px) {
    .container { padding: 0 32px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
}

/* Utilidades */
.center {
    text-align: center;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(120deg, #7cd4ff 0%, #039df9 45%, #7c5cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blue-text {
    color: var(--primary);
}

/* Efecto de escritura en el hero */
.type-blue {
    color: var(--primary);
    display: inline;
}

.type-blue #typed-text {
    color: var(--primary);
}

.type-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 4px;
    background-color: var(--primary);
    vertical-align: -0.08em;
    border-radius: 2px;
    animation: cursorBlink 0.9s steps(1) infinite;
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Orbs de fondo animados */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    will-change: transform;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(3, 157, 249, 0.55), transparent 70%);
    top: -80px;
    right: 8%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
    bottom: -40px;
    left: 5%;
    animation: orbFloat2 14s ease-in-out infinite;
}

.orb-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 92, 168, 0.3), transparent 70%);
    top: 40%;
    left: 40%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-25px, 25px); }
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 249, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-chromatic);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--on-surface-variant);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #039df9 0%, #0280d0 100%);
    color: var(--on-primary);
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(3, 157, 249, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(3, 157, 249, 0.42);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-block {
    width: 100%;
    padding: 16px 28px;
    font-size: 16px;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 15px;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    border: 1.5px solid var(--surface-container);
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary-container);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3, 157, 249, 0.12);
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    padding: 56px 0 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    background-color: var(--surface-container-low);
    color: var(--primary);
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13.5px;
}

.pulse-badge {
    position: relative;
}

.pulse-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-text h1 {
    font-size: var(--fs-display);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--on-surface);
}

.hero-lead {
    font-size: var(--fs-body);
    color: var(--on-surface-variant);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

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

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--surface-container);
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--on-surface);
    box-shadow: var(--shadow-chromatic);
}

.meta-chip svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.hero-image-ring {
    position: absolute;
    width: min(420px, 85%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 212, 255, 0.35), rgba(3, 157, 249, 0.08) 60%, transparent 70%);
    animation: ringSpin 24s linear infinite;
}

/* Trazo del anillo: segmentos cortos y frecuentes tipo "líneas girando" */
.hero-image-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(3, 157, 249, 0.5) 0deg 3deg,
        transparent 3deg 6deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    pointer-events: none;
}

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 15px 30px rgba(0, 97, 148, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1.2deg); }
}

/* Tarjetas flotantes del hero */
.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 217, 247, 0.7);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow-glow);
    animation: cardBob 5s ease-in-out infinite;
}

.float-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.35;
    margin-bottom: 2px;
}

.float-card small {
    display: block;
    font-size: 12px;
    color: var(--on-surface-variant);
    line-height: 1.35;
}

.float-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--surface-container-low), #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.float-card-1 {
    top: 12%;
    left: 0;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 14%;
    right: 0;
    animation-delay: 1.2s;
}

@keyframes cardBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   HIGHLIGHTS / BENEFICIOS
   ========================================= */
.highlights-section {
    padding: 72px 0;
    background:
        linear-gradient(180deg, rgba(207, 230, 255, 0.35) 0%, rgba(248, 249, 255, 0) 100%);
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--on-surface-variant);
    margin-bottom: 36px;
    max-width: 680px;
}

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

.highlight-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 32px 26px;
    box-shadow: var(--shadow-chromatic);
    border: 1px solid var(--surface-container);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft), var(--accent-violet));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    color: #ffffff;
    font-weight: 700;
}

.icon-points {
    background: linear-gradient(135deg, #039df9, #7cd4ff);
    box-shadow: 0 8px 18px rgba(3, 157, 249, 0.3);
}

.icon-web {
    background: linear-gradient(135deg, #7c5cff, #b49cff);
    box-shadow: 0 8px 18px rgba(124, 92, 255, 0.3);
}

.icon-date {
    background: linear-gradient(135deg, #ff5ca8, #ff9ec8);
    box-shadow: 0 8px 18px rgba(255, 92, 168, 0.28);
}

.highlight-card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--on-surface);
}

.highlight-card p {
    font-size: var(--fs-meta);
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.highlight-card p strong {
    color: var(--on-surface);
}

/* =========================================
   SECCIÓN TÉRMINOS
   ========================================= */
.terms-section {
    padding: 72px 0 88px 0;
    background-color: var(--surface-container-low);
    position: relative;
    overflow: hidden;
}

.terms-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terms-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(3, 157, 249, 0.15);
}

.terms-item:last-child {
    border-bottom: none;
}

.terms-item h3 {
    font-size: var(--fs-block);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.terms-item p {
    font-size: 16.5px;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

.terms-item p strong {
    color: var(--on-surface);
}

/* =========================================
   SECCIÓN FORMULARIO
   ========================================= */
.form-section {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.form-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.orb-form-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(3, 157, 249, 0.35), transparent 70%);
    top: 10%;
    left: -80px;
    animation: orbFloat1 13s ease-in-out infinite;
}

.orb-form-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.28), transparent 70%);
    bottom: 5%;
    right: -60px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.form-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.form-aside {
    position: sticky;
    top: 120px;
}

.form-aside h2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--on-surface);
}

.form-aside > p {
    color: var(--on-surface-variant);
    font-size: var(--fs-body);
    margin-bottom: 28px;
}

.aside-image {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.aside-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 15px 30px rgba(0, 97, 148, 0.12));
    animation: heroFloat 7s ease-in-out infinite;
}

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--surface-container);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--shadow-chromatic);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.steps li:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}

.steps li strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 2px;
}

.steps li small {
    font-size: 13px;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

.step-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7cd4ff);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(3, 157, 249, 0.3);
}

.form-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--surface-container);
    padding: 40px 36px;
}

.form-card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 8px;
}

.form-card .form-desc {
    color: var(--on-surface-variant);
    font-size: var(--fs-meta);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e11d48;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--surface-container);
    border-radius: 14px;
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--on-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(3, 157, 249, 0.12);
}

.form-control.is-invalid {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    pointer-events: none;
}

.input-icon-wrap .form-control.has-prefix {
    padding-left: 38px;
}

.field-error {
    display: block;
    color: #e11d48;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

.checkbox-group {
    margin: 4px 0 24px 0;
    padding: 0;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--on-surface-variant);
    line-height: 1.55;
    user-select: none;
    margin: 0;
    padding: 0;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0 0;
    border: 2px solid var(--surface-container);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    justify-self: start;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"].is-invalid {
    border-color: #e11d48;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.alert-success {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.form-note {
    margin-top: 16px;
    font-size: 12.5px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #0b1c30;
    color: #e1e8f0;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.footer-logo img {
    height: 38px;
    width: auto;
}

.footer-brand p {
    font-size: var(--fs-meta);
    color: #94a3b8;
    line-height: 1.6;
    max-width: 380px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
    gap: 12px;
    flex-wrap: wrap;
}

.dev-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-by img {
    height: 28px;
    width: auto;
    opacity: 0.95;
}

.dev-by strong {
    color: #cbd5e1;
}

/* =========================================
   REVEAL SCROLL
   ========================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
    filter: blur(10px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

[data-reveal="left"] { transform: translateX(-64px) scale(0.97); }
[data-reveal="right"] { transform: translateX(64px) scale(0.97); }
[data-reveal="zoom"] { transform: scale(0.88); }

[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
}

[data-reveal-delay="1"] { transition-delay: 0.15s; }
[data-reveal-delay="2"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    .hero-image img,
    .aside-image img,
    .float-card,
    .orb,
    .hero-image-ring,
    .pulse-badge::before {
        animation: none;
    }
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet grande / laptop pequeña */
@media (max-width: 1100px) {
    body { padding-top: 76px; }

    .nav-content { height: 72px; }
    .logo { font-size: 21px; gap: 8px; }
    .logo img { height: 30px; }
    .menu-toggle { display: flex; flex-shrink: 0; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(248, 249, 255, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 20px;
        gap: 4px;
        box-shadow: var(--shadow-chromatic);
    }

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

    .nav-links a {
        display: block;
        padding: 12px 8px;
        border-radius: 10px;
        font-size: 15px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--surface-container-low);
    }

    .nav-links a::after { display: none; }

    .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { padding: 40px 0 56px; }
    .hero-grid { gap: 32px; }
    .hero-image { min-height: 300px; }
    .hero-image img { max-width: 340px; }
    .hero-image-ring { width: min(320px, 80%); }

    .float-card-1 { top: 8%; left: 0; }
    .float-card-2 { bottom: 10%; right: 0; }

    .form-section { padding: 64px 0; }
    .form-layout { gap: 32px; }
}

/* Tablet / móvil grande */
@media (max-width: 992px) {
    .hero-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .hero-text { text-align: center; }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }
    .hero-cta {
        justify-content: center;
        gap: 12px;
    }
    .hero-meta {
        justify-content: center;
    }

    .hero-image {
        min-height: 280px;
        order: -1;
    }

    .hero-image img { max-width: 300px; }
    .hero-image-ring { width: min(280px, 70%); }

    .float-card-1 { left: 0; top: 6%; }
    .float-card-2 { right: 0; bottom: 8%; }

    .form-aside {
        position: static;
        text-align: center;
        max-width: 560px;
        margin: 0 auto;
    }

    .form-aside > p { margin-left: auto; margin-right: auto; }

    .steps {
        text-align: left;
        max-width: 420px;
        margin: 0 auto;
    }

    .steps li { text-align: left; }

    .form-card {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .terms-list { max-width: 720px; }
}

/* Móvil */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    body { padding-top: 70px; }
    .nav-content { height: 66px; }
    .logo { font-size: 18px; }
    .logo img { height: 28px; }

    .hero { padding: 28px 0 44px; }
    .hero-text h1 { margin-bottom: 16px; }
    .hero-lead { font-size: 15.5px; margin-bottom: 22px; }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .meta-chip {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        text-align: center;
        font-size: 13.5px;
        padding: 10px 14px;
    }

    .hero-image { min-height: 260px; }
    .hero-image img { max-width: 230px; }
    .hero-image-ring {
        width: min(240px, 72%);
        animation-duration: 18s;
    }

    /* En móvil el anillo mantiene líneas cortas y frecuentes */
    .hero-image-ring::before {
        background: repeating-conic-gradient(
            from 0deg,
            rgba(3, 157, 249, 0.55) 0deg 3.5deg,
            transparent 3.5deg 7deg
        );
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
    }

    .float-card {
        padding: 12px 12px;
        border-radius: 14px;
        gap: 10px;
        animation-name: cardBob;
        animation-duration: 4.5s;
    }

    .float-card strong {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 3px;
    }

    .float-card small {
        font-size: 11px;
        line-height: 1.4;
    }

    .float-card-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 10px;
    }

    .float-card-1 {
        top: 6%;
        left: 0;
    }

    .float-card-2 {
        bottom: 8%;
        right: 0;
    }

    .section-title { margin-bottom: 10px; }
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .terms-section { padding: 52px 0 60px; }
    .terms-item { padding: 16px 0; }
    .terms-item h3 { font-size: 18px; margin-bottom: 8px; }
    .terms-item p { font-size: 15px; line-height: 1.65; }

    .form-section { padding: 52px 0 64px; }
    .form-layout { gap: 28px; }

    .form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .form-card h3 { font-size: 19px; }
    .form-card .form-desc { margin-bottom: 20px; }

    .form-group { margin-bottom: 16px; }
    .form-group label { font-size: 13.5px; margin-bottom: 6px; }

    .form-control {
        padding: 13px 14px;
        font-size: 15px;
        border-radius: 12px;
    }

    .input-icon-wrap .input-prefix { left: 14px; }
    .input-icon-wrap .form-control.has-prefix { padding-left: 34px; }

    .checkbox-group { margin: 4px 0 20px 0; }
    .checkbox-label {
        font-size: 13.5px;
        gap: 10px;
        grid-template-columns: 20px 1fr;
    }
    .checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .checkbox-label input[type="checkbox"]:checked::after {
        left: 5px;
        top: 1px;
        width: 4.5px;
        height: 9px;
    }

    .btn-block {
        padding: 15px 20px;
        font-size: 15px;
    }

    .form-note { font-size: 11.5px; margin-top: 14px; }

    .alert {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 12px;
    }

    .steps li {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .step-num {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .steps li strong { font-size: 13.5px; }
    .steps li small { font-size: 12.5px; }

    .footer { padding-top: 48px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
    .footer-logo { font-size: 22px; margin-bottom: 12px; }
    .footer-logo img { height: 30px; }
    .footer-col h4 { margin-bottom: 14px; }
    .footer-col li { margin-bottom: 10px; }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .dev-by { justify-content: center; }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .nav-actions .btn-primary { display: none; }

    .logo { font-size: 16px; }
    .logo img { height: 26px; }

    .badge {
        font-size: 12px;
        padding: 7px 12px;
        margin-bottom: 16px;
    }

    .hero-text h1 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .type-cursor {
        width: 2.5px;
        height: 0.85em;
    }

    .hero-image { min-height: 230px; }
    .hero-image img { max-width: 200px; }
    .hero-image-ring {
        width: min(210px, 70%);
        animation-duration: 16s;
    }

    .hero-image-ring::before {
        background: repeating-conic-gradient(
            from 0deg,
            rgba(3, 157, 249, 0.55) 0deg 3.5deg,
            transparent 3.5deg 7deg
        );
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
    }

    .float-card {
        padding: 10px 10px;
        border-radius: 12px;
        gap: 8px;
        animation-duration: 4s;
    }

    .float-card strong {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 3px;
    }

    .float-card small {
        font-size: 10px;
        line-height: 1.4;
    }

    .float-card-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 8px;
    }

    .float-card-1 {
        top: 4%;
        left: 0;
    }

    .float-card-2 {
        bottom: 6%;
        right: 0;
    }

    .meta-chip { font-size: 12.5px; padding: 9px 12px; }
    .meta-chip svg { width: 16px; height: 16px; }

    .form-card { padding: 20px 14px; }
    .form-control { padding: 12px 12px; font-size: 16px; } /* 16px evita zoom en iOS */
    .checkbox-label { font-size: 13px; }

    .terms-item h3 { font-size: 17px; }
    .terms-item p { font-size: 14.5px; }
}

/* Móvil muy pequeño */
@media (max-width: 360px) {
    .container { padding: 0 12px; }

    .logo span,
    .logo { font-size: 15px; }

    .hero-image { min-height: 210px; }
    .hero-image img { max-width: 170px; }
    .hero-image-ring { width: min(180px, 68%); }

    .hero-image-ring::before {
        background: repeating-conic-gradient(
            from 0deg,
            rgba(3, 157, 249, 0.55) 0deg 3deg,
            transparent 3deg 6.5deg
        );
    }

    .float-card {
        padding: 10px 8px;
        gap: 7px;
    }

    .float-card strong { font-size: 10.5px; }
    .float-card small { font-size: 9.5px; }
    .float-card-icon { width: 26px; height: 26px; font-size: 12px; }

    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }

    .hero-cta .btn {
        font-size: 13.5px;
        padding: 13px 16px;
    }

    .form-card { padding: 18px 12px; }
}

/* Evita efectos hover pegajosos en táctil */
@media (hover: none), (pointer: coarse) {
    .btn-primary:hover,
    .btn-ghost:hover,
    .highlight-card:hover,
    .steps li:hover {
        transform: none;
    }

    .btn-primary:hover {
        box-shadow: 0 4px 12px rgba(3, 157, 249, 0.28);
    }
}

/* Evita overflow horizontal por orbes y animaciones */
.hero,
.form-section,
.terms-section {
    max-width: 100%;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
.form-control:focus-visible,
input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
