/* ============================================
   Página Registro - Tiens Argentina
   ============================================ */

.registro-main {
    background: var(--light-gray);
}

/* --- Hero compacto --- */
.registro-hero {
    position: relative;
    padding: 130px 0 60px;
    background-image: url('https://tiensbrasil.vidaenhierbas.com/img/tiens-brasil-grupo-tiens-produtos_br_11zon.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.registro-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,166,81,0.92) 0%, rgba(255,215,0,0.88) 100%);
}

.registro-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.registro-hero-content h1 {
    font-size: 2.6rem;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

.registro-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}

.registro-hero-note {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    background: rgba(0,0,0,0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
}

.registro-hero-note i {
    color: var(--yellow-primary);
    margin-right: 0.35rem;
}

/* --- Sección Auspiciante --- */
.sponsor-section {
    padding: 3rem 0;
}

.sponsor-box {
    background: var(--white);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--green-primary);
}

.sponsor-box h2 {
    color: var(--green-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.sponsor-box h2 i {
    margin-right: 0.5rem;
    color: var(--yellow-dark);
}

.sponsor-intro {
    text-align: center;
    color: var(--gray);
    max-width: 720px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.sponsor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.sponsor-card {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 6px 18px rgba(0,166,81,0.25);
}

.sponsor-card .sponsor-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.sponsor-card .sponsor-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

.sponsor-card .sponsor-id-label {
    font-size: 0.8rem;
    opacity: 0.85;
}

.sponsor-card .sponsor-id {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow-primary);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

.sponsor-tip {
    background: var(--light-gray);
    border-left: 4px solid var(--yellow-primary);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    color: var(--black);
    font-size: 0.95rem;
}

.sponsor-tip i {
    color: var(--green-primary);
    margin-right: 0.4rem;
}

/* --- Sección Formulario --- */
.form-section {
    padding: 3rem 0 5rem;
}

.form-wrapper {
    background: var(--white);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--yellow-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--black);
    font-size: 0.95rem;
}

.req {
    color: #d6322f;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    color: var(--black);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,166,81,0.15);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not(:focus) {
    border-color: #e8b3b3;
}

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

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    font-size: 0.92rem;
    color: var(--gray);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--green-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-actions .btn {
    min-width: 280px;
    font-size: 1.15rem;
}

.form-actions .btn i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
    vertical-align: middle;
}

.form-disclaimer {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

/* --- Pasos --- */
.pasos-section {
    padding: 4rem 0;
    background: var(--white);
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.paso-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}

.paso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,166,81,0.18);
}

.paso-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.paso-card h3 {
    color: var(--green-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.paso-card p {
    color: var(--gray);
    line-height: 1.5;
}

/* --- Estado link activo --- */
.nav-link-active {
    color: var(--green-primary) !important;
    font-weight: 700;
}

/* --- Toast feedback --- */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--green-primary);
    color: var(--white);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.4s ease;
    max-width: 90vw;
    text-align: center;
}

.toast.toast-error {
    background: #d6322f;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .registro-hero {
        padding: 110px 0 50px;
    }
    .registro-hero-content h1 {
        font-size: 1.9rem;
    }
    .registro-hero-subtitle {
        font-size: 1rem;
    }
    .sponsor-box,
    .form-wrapper {
        padding: 1.75rem 1.25rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-actions .btn {
        min-width: 0;
        width: 100%;
    }
    .form-header h2 {
        font-size: 1.5rem;
    }
}
