/* ===== CSS/registro-servidor.css | Amazonía Viajes - VERSIÓN IMPACTANTE ===== */

/* ===== TÍTULOS DE SECCIÓN CON IMPACTO ===== */
.av-section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--av-verde, #0d911c), #0a6b14);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 30px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(13,145,28,0.3);
    animation: fadeInDown 0.6s ease;
}

.av-section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--av-texto, #1a1a1a);
    margin-bottom: 15px;
    line-height: 1.2;
    /* Efecto de texto con gradiente sutil */
    background: linear-gradient(135deg, var(--av-texto, #1a1a1a) 0%, var(--av-verde, #0d911c) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease;
}

.av-section-desc {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

/* Animaciones sutiles */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== HERO CONVINCENTE ===== */
.av-hero--registro-servidor {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(13, 145, 28, 0.075), rgba(2,56,119,0.95)), 
                url('/PICTURES/FRECUENTES/hero-amazonia.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: var(--espacio-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.av-hero--registro-servidor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(232,192,70,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.av-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 0.8s ease;
}
.av-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}
.av-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.1;
}
.av-hero__text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 750px;
    margin: 0 auto 25px;
    opacity: 0.98;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ===== BENEFICIOS ===== */
.av-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.av-benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--av-dorado, #e8c046);
    position: relative;
    overflow: hidden;
}
.av-benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--av-verde, #0d911c), var(--av-dorado, #e8c046));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.av-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(13,145,28,0.2);
}
.av-benefit-card:hover::before { transform: scaleX(1); }
.av-benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.av-benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--av-texto, #1a1a1a);
}
.av-benefit-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CÓMO FUNCIONA (PASOS) ===== */
.av-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.av-step {
    text-align: center;
    padding: 25px;
    position: relative;
}
.av-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--av-dorado, #e8c046);
}
.av-step:last-child::after { display: none; }
.av-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--av-verde, #0d911c), var(--av-azul, #023877));
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(13,145,28,0.4);
    position: relative;
    z-index: 2;
}
.av-step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--av-dorado, #e8c046), #c9a032);
    z-index: -1;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
.av-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--av-texto, #1a1a1a);
}
.av-step p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PRECIOS - CORRECCIÓN DE SUPERPOSICIÓN ===== */
.av-pricing-section {
    position: relative;
    padding-top: 20px;
}
.av-pricing-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.av-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.av-pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}
.av-pricing-card--featured {
    border-color: var(--av-dorado, #e8c046);
    transform: scale(1.08);
    z-index: 3;
    box-shadow: 0 15px 50px rgba(232,192,70,0.3);
}
.av-pricing-card--featured::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--av-dorado, #e8c046), #c9a032);
    z-index: -1;
    opacity: 0.2;
}
.av-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.av-pricing-card--featured:hover {
    transform: scale(1.08) translateY(-8px);
}
.av-pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--av-dorado, #e8c046), #c9a032);
    color: var(--av-texto, #1a1a1a);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(232,192,70,0.4);
    white-space: nowrap;
    z-index: 4;
}
.av-pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 30px 0 20px;
    color: var(--av-texto, #1a1a1a);
}
.av-pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--av-verde, #0d911c);
    margin-bottom: 20px;
    line-height: 1;
}
.av-pricing-period {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 8px;
}
.av-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}
.av-pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.av-pricing-features li::before {
    content: '✓';
    color: var(--av-verde, #0d911c);
    font-weight: 700;
    font-size: 1.1rem;
}
.av-pricing-features li:last-child { border-bottom: none; }

/* ===== REQUISITOS ===== */
.av-requirements-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.av-requirement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.av-requirement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(13,145,28,0.1);
}
.av-requirement-icon {
    font-size: 1.8rem;
    color: var(--av-verde, #0d911c);
    flex-shrink: 0;
    margin-top: 4px;
}
.av-requirement-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--av-texto, #1a1a1a);
}
.av-requirement-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== FORMULARIO ===== */
.av-form-servidor {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 40px auto 0;
    border: 1px solid rgba(232,192,70,0.3);
}
.av-form-group {
    border: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.av-form-group legend {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--av-texto, #1a1a1a);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--av-dorado, #e8c046);
    width: 100%;
    position: relative;
}
.av-form-group legend::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--av-verde, #0d911c);
}
.av-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.av-form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.av-form-field {
    flex: 1;
    min-width: 200px;
}
.av-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--av-texto, #1a1a1a);
    font-size: 0.95rem;
}
.av-form-field input,
.av-form-field select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s;
}
.av-form-field input:focus,
.av-form-field select:focus {
    outline: none;
    border-color: var(--av-verde, #0d911c);
    box-shadow: 0 0 0 4px rgba(13,145,28,0.1);
    transform: translateY(-2px);
}
.av-form-field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.av-form-field--checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--av-verde, #0d911c);
}
.av-form-field--checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}
.av-form-field--checkbox a {
    color: var(--av-verde, #0d911c);
    text-decoration: none;
    font-weight: 600;
}
.av-form-field--checkbox a:hover { text-decoration: underline; }

/* Botón de envío */
.av-btn--lg {
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.av-btn--primary {
    background: linear-gradient(135deg, var(--av-verde, #0d911c), #0a6b14);
    color: white;
    box-shadow: 0 6px 25px rgba(13,145,28,0.4);
}
.av-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(13,145,28,0.6);
    background: linear-gradient(135deg, #0a6b14, var(--av-verde, #0d911c));
}
.av-btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.av-btn--primary:hover::after { transform: translateX(100%); }

/* Mensajes de estado */
.av-mensaje {
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideIn 0.4s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.av-mensaje--success {
    background: linear-gradient(135deg, rgba(13,145,28,0.15), rgba(13,145,28,0.05));
    color: var(--av-verde, #0d911c);
    border-left: 5px solid var(--av-verde);
}
.av-mensaje--error {
    background: linear-gradient(135deg, rgba(220,53,69,0.15), rgba(220,53,69,0.05));
    color: #dc3545;
    border-left: 5px solid #dc3545;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .av-pricing-card--featured { transform: scale(1); }
    .av-pricing-card--featured:hover { transform: translateY(-8px); }
}
@media (max-width: 768px) {
    .av-hero--registro-servidor { min-height: 55vh; padding: 30px 15px; }
    .av-hero__title { font-size: 2rem; }
    .av-hero__text { font-size: 1.05rem; }
    .av-steps-grid { grid-template-columns: 1fr; }
    .av-step::after { display: none; }
    .av-form-row--2 { grid-template-columns: 1fr; }
    .av-form-servidor { padding: 30px 20px; }
    .av-pricing-grid { grid-template-columns: 1fr; }
    .av-pricing-price { font-size: 3rem; }
}
@media (max-width: 480px) {
    .av-hero__title { font-size: 1.8rem; }
    .av-section-title { font-size: 1.6rem; }
    .av-pricing-price { font-size: 2.5rem; }
}

/* ===== UTILIDADES DE ANIMACIÓN ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}