@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f4ea 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.security-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.security-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #15803d;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 32px;
    margin-top: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    height: 44px;
    width: auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 24px;
}

.welcome {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    margin-bottom: 4px;
}

.portal-title {
    font-size: 18px;
    color: #00484a;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: #00a13c;
    box-shadow: 0 0 0 3px rgba(0, 161, 60, 0.1);
}

.btn-login {
    background: #00a13c;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0, 161, 60, 0.1);
    width: 100%;
}

.btn-login:hover {
    background: #008030;
    box-shadow: 0 4px 8px rgba(0, 161, 60, 0.15);
}

.btn-login:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-login svg {
    width: 18px;
    height: 18px;
}


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

body.landing-body {
    display: block;
    background: #fcfdfe;
    min-height: auto;
    padding: 0;
    color: #1e293b;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container-header .logo {
    height: 42px;
    width: auto;
    display: block;
}

.security-badge-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #bbf7d0;
}

.security-badge-header span {
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
}

/* Hero Section */
.hero-section {
    padding: 60px 24px;
    background: radial-gradient(circle at top right, rgba(0, 161, 60, 0.05) 0%, rgba(255, 255, 255, 1) 70%);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge-promo {
    display: inline-block;
    background: rgba(0, 161, 60, 0.08);
    color: #00a13c;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 161, 60, 0.15);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #00484a;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Features */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    padding: 10px;
    border-radius: 12px;
    color: #00a13c;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.45;
}

/* Hero Right: Card & Image */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.lead-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 161, 60, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 32px;
}

.lead-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.lead-card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #00484a;
    margin-bottom: 8px;
}

.lead-card-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

/* Landing Form Group */
.form-group-landing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label-landing {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.input-container-landing {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.input-container-landing:focus-within {
    border-color: #00a13c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 161, 60, 0.15);
}

.input-icon-landing {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input-landing {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #0f172a;
}

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

.error-message-landing {
    display: none;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
}

/* Call to Action Button */
.btn-cta-landing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #00a13c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 161, 60, 0.2);
}

.btn-cta-landing:hover {
    background: #008030;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 161, 60, 0.3);
}

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

.lead-card-footer {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.lead-card-footer span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* Floating Image */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0 0;
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 161, 60, 0.07) 0%, rgba(0, 161, 60, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-image {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 161, 60, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: floatFamily 5s ease-in-out infinite;
}

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

/* Benefits Section */
.benefits-section {
    padding: 80px 24px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #00484a;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 16px;
    color: #64748b;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 161, 60, 0.05);
    border-color: rgba(0, 161, 60, 0.15);
}

.benefit-img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.benefit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

/* Footer Premium */
.main-footer {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    color: #fff;
    text-align: center;
    background: linear-gradient(160deg, #002b2c 0%, #00484a 60%, #006063 100%);
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-logo {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-style: italic;
}

.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.animate-slide-up-delayed-more {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================================
   PUNTOS PLUS RESULT SCREEN
   =================================================== */

.puntos-result-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 20, 20, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.puntos-result-screen.visible {
    display: flex;
    animation: fadeInOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.puntos-result-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(0, 161, 60, 0.22), 0 8px 24px rgba(0,0,0,0.12);
    text-align: center;
    animation: slideUpCard 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUpCard {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.puntos-result-logo {
    margin-bottom: 20px;
}

.puntos-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.puntos-check-icon {
    margin-bottom: 16px;
    animation: popIn 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.puntos-result-title {
    font-size: 24px;
    font-weight: 700;
    color: #00484a;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.puntos-result-subtitle {
    font-size: 14px;
    color: #6b7a90;
    margin-bottom: 28px;
}

.puntos-result-subtitle strong {
    color: #00a13c;
}

.puntos-amount-box {
    background: linear-gradient(135deg, #00a13c 0%, #00c853 100%);
    border-radius: 18px;
    padding: 28px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 32px rgba(0, 161, 60, 0.30);
    animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 161, 60, 0.30); }
    50%       { box-shadow: 0 8px 48px rgba(0, 200, 83, 0.50); }
}

.puntos-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.puntos-amount {
    font-size: 54px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1;
    animation: countUp 0.6s 0.3s ease both;
}

@keyframes countUp {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.puntos-unit {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.90);
    letter-spacing: 0.2px;
}

.puntos-info-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}

.puntos-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 161, 60, 0.1);
}

.puntos-info-item svg {
    flex-shrink: 0;
}

.puntos-info-item span {
    font-size: 13px;
    color: #00484a;
    font-weight: 500;
}

.btn-puntos-cta {
    width: 100%;
    background: linear-gradient(135deg, #f36f21 0%, #ff8c42 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 6px 20px rgba(243, 111, 33, 0.30);
    margin-bottom: 16px;
}

.btn-puntos-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(243, 111, 33, 0.40);
    background: linear-gradient(135deg, #d65b16 0%, #ff7924 100%);
}

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

.puntos-footer-note {
    font-size: 11px;
    color: #9ba8bb;
    line-height: 1.5;
}

/* ===================================================
   PREMIUM LOADING SCREEN
   =================================================== */

.loading-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #ffffff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-screen[style*="flex"] {
    display: flex;
    animation: loadFadeIn 0.35s ease forwards;
}

@keyframes loadFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px;
}

.loader-logo-ring {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: ringRotate 1.4s linear infinite;
    transform-origin: center;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.loader-ring-spin {
    stroke-dasharray: 276;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.3s ease;
}

.loader-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border-radius: 50%;
    width: 76px;
    height: 76px;
    box-shadow: 0 4px 20px rgba(0, 161, 60, 0.15);
    padding: 12px;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 161, 60, 0.12), 0 0 0 0 rgba(0, 161, 60, 0.0); }
    50%       { box-shadow: 0 4px 30px rgba(0, 161, 60, 0.20), 0 0 0 8px rgba(0, 161, 60, 0.07); }
}

.loader-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: #00a13c;
    border-radius: 50%;
    display: inline-block;
    animation: dotBounce 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.18s; }
.loader-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0);    opacity: 0.5; }
    40%            { transform: translateY(-10px); opacity: 1;   }
}

.loading-text {
    font-size: 17px;
    font-weight: 700;
    color: #00484a;
    text-align: center;
    letter-spacing: 0.2px;
    margin: 0;
}

.loading-subtext {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    max-width: 280px;
    line-height: 1.5;
    margin: 0;
}

.loader-progress-track {
    width: 240px;
    height: 4px;
    background: rgba(0, 161, 60, 0.12);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00a13c, #00c853);
    border-radius: 99px;
    animation: progressFill 3.2s ease-in-out forwards;
}

@keyframes progressFill {
    0%   { width: 0%; }
    40%  { width: 55%; }
    70%  { width: 75%; }
    90%  { width: 88%; }
    100% { width: 95%; }
}

/* ===================================================
   PAGE TRANSITION OVERLAY
   =================================================== */

.page-transition-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(145deg, #002b2c 0%, #00484a 55%, #00a13c 100%);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.visible {
    display: flex;
    animation: pageOverlayIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageOverlayIn {
    0%   { opacity: 0; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

.page-transition-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.page-transition-logo-ring {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: ringRotate 1.2s linear infinite;
    transform-origin: center;
}

.page-ring-spin {
    stroke-dasharray: 276;
    stroke-dashoffset: 190;
    stroke: rgba(255,255,255,0.9);
}

.page-transition-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    width: 76px;
    height: 76px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    padding: 12px;
    animation: logoPulse 2s ease-in-out infinite;
}

.page-transition-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.page-transition-text {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-align: center;
    letter-spacing: 0.3px;
    animation: textFadeUp 0.5s 0.2s ease both;
}

@keyframes textFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE — Complete system for all device sizes
   ========================================================================== */

/* ── Tablet landscape / small desktop (≤1024px) ── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-info {
        order: 1;
    }

    .hero-right {
        order: 2;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .badge-promo {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-list {
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-item {
        text-align: left;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 17px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-image-wrapper {
        padding: 12px 0 0;
    }
}

/* ── Tablet portrait (≤768px) ── */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefit-card {
        padding: 24px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .benefits-section {
        padding: 56px 20px;
    }

    .lead-card {
        padding: 28px 20px;
    }

    .puntos-result-card {
        padding: 32px 24px 28px;
    }

    .puntos-amount {
        font-size: 46px;
    }

    .page-transition-logo-ring,
    .loader-logo-ring {
        width: 96px;
        height: 96px;
    }

    .loader-logo-inner,
    .page-transition-logo-inner {
        width: 66px;
        height: 66px;
    }

    .hero-image {
        max-width: 260px;
    }
}

/* ── Large mobile (≤600px) ── */
@media (max-width: 600px) {
    .hero-container {
        gap: 24px;
    }

    .hero-right {
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
    }

    .lead-card {
        border-radius: 12px;
        padding: 24px 16px;
    }

    .lead-card-header h2 {
        font-size: 20px;
    }

    .lead-card-header p {
        font-size: 13px;
    }

    .form-input-landing {
        font-size: 15px;
    }

    .btn-cta-landing {
        padding: 13px 16px;
        font-size: 15px;
    }

    .hero-image {
        max-width: 220px;
    }

    .hero-image-wrapper::before {
        width: 220px;
        height: 220px;
    }

    .puntos-result-card {
        padding: 28px 16px 24px;
        border-radius: 18px;
    }

    .puntos-result-title {
        font-size: 20px;
    }

    .puntos-amount {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .puntos-amount-box {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .btn-puntos-cta {
        font-size: 15px;
        padding: 14px 18px;
        border-radius: 12px;
    }

    .puntos-info-item span {
        font-size: 12px;
    }

    .loading-content {
        padding: 24px 16px;
        gap: 16px;
    }

    .loading-text {
        font-size: 15px;
    }

    .loading-subtext {
        font-size: 12px;
    }

    .loader-progress-track {
        width: 200px;
    }

    .main-footer p {
        font-size: 12px;
        line-height: 1.5;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .benefits-section {
        padding: 44px 16px;
    }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    .header-container {
        padding: 12px 16px;
    }

    .logo-container-header .logo {
        height: 34px;
    }

    .security-badge-header span {
        font-size: 11px;
    }

    .security-badge-header {
        padding: 5px 10px;
        gap: 5px;
    }

    .security-badge-header svg {
        width: 14px;
        height: 14px;
    }

    .hero-section {
        padding: 32px 16px 24px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .badge-promo {
        font-size: 10px;
        padding: 5px 10px;
        letter-spacing: 0.5px;
    }

    .feature-text h3 {
        font-size: 14px;
    }

    .feature-text p {
        font-size: 13px;
    }

    .lead-card {
        padding: 20px 14px;
    }

    .lead-card-header {
        margin-bottom: 18px;
    }

    .lead-card-header h2 {
        font-size: 18px;
    }

    .form-group-landing {
        margin-bottom: 16px;
    }

    .input-container-landing {
        padding: 9px 12px;
    }

    .btn-cta-landing {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }

    .hero-image {
        max-width: 190px;
    }

    .hero-image-wrapper {
        padding: 8px 0 0;
    }

    .hero-image-wrapper::before {
        width: 180px;
        height: 180px;
    }

    .benefit-card {
        padding: 20px 16px;
    }

    .benefit-card h3 {
        font-size: 15px;
    }

    .benefit-card p {
        font-size: 13px;
    }

    .benefits-section {
        padding: 36px 14px;
    }

    .puntos-result-screen {
        padding: 12px;
    }

    .puntos-result-card {
        padding: 24px 14px 20px;
        border-radius: 16px;
    }

    .puntos-logo-img {
        height: 28px;
    }

    .puntos-check-icon svg {
        width: 46px;
        height: 46px;
    }

    .puntos-result-title {
        font-size: 18px;
    }

    .puntos-result-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .puntos-amount {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .puntos-amount-box {
        padding: 18px 14px;
        gap: 4px;
        border-radius: 12px;
        margin-bottom: 18px;
    }

    .puntos-unit {
        font-size: 14px;
    }

    .puntos-label {
        font-size: 11px;
    }

    .puntos-info-row {
        gap: 8px;
        margin-bottom: 20px;
    }

    .puntos-info-item {
        padding: 8px 12px;
        border-radius: 8px;
    }

    .btn-puntos-cta {
        font-size: 14px;
        padding: 13px 14px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .puntos-footer-note {
        font-size: 10px;
    }

    .loader-logo-ring,
    .page-transition-logo-ring {
        width: 88px;
        height: 88px;
    }

    .loader-logo-inner,
    .page-transition-logo-inner {
        width: 60px;
        height: 60px;
        padding: 10px;
    }

    .loader-logo-img,
    .page-transition-logo-img {
        width: 100%;
    }

    .loader-dots span {
        width: 7px;
        height: 7px;
    }

    .loader-progress-track {
        width: 180px;
    }
}
