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

body {
    background-color: #f8f9fa;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #344767;
    min-height: 100vh;
    font-size: 0.95rem; /* Ajuste medio */
}

/* Typography & Layout */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #344767;
}

h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }

.section {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.section.active {
    display: block;
}

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

/* Pricing Cards */
.cards-registro {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.cards-registro:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-activa {
    border: 2px solid #007bff !important;
    background-color: #f0f7ff;
    box-shadow: 0 10px 15px -3px rgba(0, 123, 255, 0.15) !important;
}

.card-activa::before {
    content: "\F26E"; /* Bootstrap Icons checkmark */
    font-family: "bootstrap-icons";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #007bff;
}

.card-imagen {
    border-radius: 50%;
    background: #f8f9fa;
    padding: 1rem;
    transition: transform 0.3s ease;
    max-width: 130px !important;
}

.cards-registro:hover .card-imagen {
    transform: scale(1.05);
}

/* Inputs & Forms */
.form-control, .form-select {
    border: 1px solid #dee2e6;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: 0;
}

.form-floating > label {
    padding: 0.6rem 1rem;
}

.form-floating > .form-control {
    padding: 1rem 1rem;
    height: 3.5rem;
    line-height: 1.25;
}

/* Main Form Container */
#contenedor-form {
    background: white;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
}

/* Progress Bar */
.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    z-index: 10;
    max-width: 600px; /* Reduced width */
    margin: 0 auto;
}

.progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 100%;
    background-color: #e9ecef;
    z-index: -1;
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 3px;
    background-color: #007bff;
    width: 0%;
    transition: width 0.4s ease;
    z-index: -1;
}

.progress-step {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6c757d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step::before {
    counter-increment: step;
    content: counter(step);
}

.progress-step-active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.progress-step-active::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.8rem;
    font-weight: 600;
    color: #344767;
    white-space: nowrap;
}

/* Buttons */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.boton-seleccion-plan {
    border-width: 2px;
}

.boton-seleccion-plan:hover {
    background-color: #007bff;
    color: white;
}

/* Modals */
.modal-content {
    border-radius: 1rem;
}
