/* Explain: Styles for buttons, cards, input fields, and social media icons. */
.spa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease,
        color 0.3s ease, border-color 0.3s ease;
}

.spa-btn-primary {
    background: var(--primary-color);
    color: #171208;
    box-shadow: 0 10px 24px rgba(197, 163, 90, 0.28);
}

.spa-btn-primary:hover {
    background: var(--primary-hover);
    color: #171208;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(197, 163, 90, 0.4);
}

.spa-btn-gold {
    background: var(--secondary-color);
    color: #2b2408;
}

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

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

.spa-btn-outline:hover {
    background: var(--primary-color);
    color: #171208;
}

.spa-btn-ghost {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.spa-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.spa-btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.spa-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.spa-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 163, 90, 0.5);
    box-shadow: var(--shadow-hover);
}

.icon-badge {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(197, 163, 90, 0.14);
    color: var(--primary-color);
    font-size: 1.2rem;
    flex: none;
}

.icon-badge-light {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
}

.chip-light {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.media-frame {
    overflow: hidden;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.media-frame:hover img {
    transform: scale(1.05);
}

.form-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.spa-input {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-alt);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spa-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(197, 163, 90, 0.22);
}

.spa-input::placeholder {
    color: var(--text-muted);
}

textarea.spa-input {
    min-height: 7rem;
    resize: vertical;
}

.form-alert {
    padding: 0.85rem 1.1rem;
    border-radius: 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-alert.is-success {
    background: rgba(46, 160, 110, 0.16);
    color: #7ce3b3;
}

.form-alert.is-error {
    background: rgba(220, 80, 80, 0.16);
    color: #ff9d9d;
}

.quote-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 163, 90, 0.5);
}

.star-row {
    display: inline-flex;
    gap: 0.2rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.floating-social-bar {
    position: fixed;
    inset-inline-start: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-3d {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-icon 3s ease-in-out infinite;
}

.social-3d:hover {
    transform: scale(1.15) translateY(-5px);
}

.social-3d.whatsapp {
    background: linear-gradient(145deg, #25D366, #128C7E);
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.2),
                inset 3px 3px 6px rgba(255,255,255,0.4),
                0 10px 20px rgba(37, 211, 102, 0.4);
}

.social-3d.phone {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.2),
                inset 3px 3px 6px rgba(255,255,255,0.4),
                0 10px 20px rgba(197, 163, 90, 0.4);
}

.social-3d.tiktok {
    background: linear-gradient(145deg, #000000, #333333);
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.5),
                inset 3px 3px 6px rgba(255,255,255,0.3),
                0 10px 20px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 0px #ff0050, -2px -2px 0px #00f2fe;
}

.social-3d.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.2),
                inset 3px 3px 6px rgba(255,255,255,0.4),
                0 10px 20px rgba(214, 36, 159, 0.4);
}

@keyframes float-icon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.social-3d:nth-child(1) { animation-delay: 0.0s; }
.social-3d:nth-child(2) { animation-delay: 0.2s; }
.social-3d:nth-child(3) { animation-delay: 0.4s; }
.social-3d:nth-child(4) { animation-delay: 0.6s; }

@media (max-width: 640px) {
    .floating-social-bar {
        inset-inline-start: 0.6rem;
        gap: 0.8rem;
    }
    .social-3d {
        width: 3rem;
        height: 3rem;
        font-size: 1.4rem;
    }
}