/* Explain: App-specific component classes for buttons, cards, and more. */
/* ---------- Botones ---------- */
.btn-gold,
.btn-whatsapp,
.btn-navy,
.btn-ghost-light,
.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
    background: var(--accent-color);
    color: var(--navy-deep);
    box-shadow: 0 14px 32px -14px rgba(201, 154, 31, 0.85);
}

.btn-gold:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #ffffff;
    box-shadow: 0 14px 32px -14px rgba(37, 211, 102, 0.8);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-navy:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline-navy {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-navy:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
}

/* ---------- Etiquetas y títulos ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow--gold {
    background: rgba(245, 197, 66, 0.16);
    color: var(--accent-strong);
}

.eyebrow--light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.title-lg {
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    font-weight: 800;
}

.lead {
    font-size: 1.02rem;
    color: var(--text-muted);
}

/* ---------- Tarjetas ---------- */
.card-base {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-base:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 30, 63, 0.14);
}

.icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.icon-tile--gold {
    background: rgba(245, 197, 66, 0.18);
    color: var(--accent-strong);
}

.icon-tile--navy {
    background: rgba(10, 30, 63, 0.08);
    color: var(--primary-color);
}

.icon-tile--whatsapp {
    background: rgba(37, 211, 102, 0.14);
    color: #128c41;
}

.icon-tile--sky {
    background: rgba(76, 185, 236, 0.16);
    color: #1a7fb0;
}

.check-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.16);
    color: #128c41;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* ---------- Portada ---------- */
.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.55;
}

.hero-orb--gold {
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: rgba(245, 197, 66, 0.35);
}

.hero-orb--sky {
    bottom: -160px;
    left: -100px;
    width: 380px;
    height: 380px;
    background: rgba(30, 58, 138, 0.6);
}

.hero-photo {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.mini-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0.85rem;
    backdrop-filter: blur(6px);
}

/* ---------- Problemas ---------- */
.problem-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.problem-card i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

/* ---------- Planes ---------- */
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 1.9rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.plan-card--featured {
    background: var(--navy-deep);
    border: 2px solid var(--accent-color);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.plan-tag {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--navy-deep);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.3rem;
    letter-spacing: -0.03em;
}

/* ---------- Proceso ---------- */
.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.6rem 1.3rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
}

/* ---------- Contacto ---------- */
.contact-slot {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-slot i {
    color: var(--accent-color);
    font-size: 1.05rem;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
}

.contact-slot .label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
}

.contact-slot .value {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px dashed rgba(245, 197, 66, 0.7);
    padding-bottom: 2px;
}

.contact-form {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.7rem;
    box-shadow: var(--shadow-lg);
}

.field label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--surface-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #97a3b7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
}

.form-status {
    font-size: 0.9rem;
    min-height: 1.2rem;
    margin-top: 0.75rem;
}

.form-status--ok {
    color: #0f8043;
    font-weight: 600;
}

.form-status--error {
    color: #c22a2a;
    font-weight: 600;
}

/* ---------- Header ---------- */
.header-scrolled {
    background: rgba(7, 22, 48, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}