/* --- SGI CARDS --- */
.webz-card--sgi {
    padding: 3rem 2rem;
    color: var(--color-text);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webz-card--sgi .webz-card__icon {
    font-size: 3rem;
    color: var(--color-action);
    display: block;
    margin-bottom: 1rem;
}

.webz-card--sgi .webz-card__title {
    color: var(--color-primary);
    margin-top: 1.25rem;
    font-weight: 700;
}

.webz-card--sgi .webz-card__description {
    color: var(--color-text-muted) !important;
    margin-bottom: 0;
}

/* --- PLAN CARDS --- */
.webz-card--plan {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.webz-card--plan-featured {
    border: 2px solid var(--color-primary);
}

.webz-card--plan-featured::before {
    content: "POPULAR";
    position: absolute;
    top: 20px;
    right: -32px;
    background: var(--color-action);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 10;
}

.webz-card--plan .webz-card__title {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.webz-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.webz-card__price-period {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* --- SHOWCASE CARDS (como-funciona pattern) --- */
.showcase-label {
    color: var(--color-action);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.showcase-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none;
}

.showcase-grid::-webkit-scrollbar {
    display: none;
}

.showcase-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Header sólido */
.showcase-card__header {
    padding: 36px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.showcase-card__header--tula {
    background: linear-gradient(135deg, #2f0000 0%, #4a0000 100%);
}

.showcase-card__header--floreria {
    background: linear-gradient(135deg, #1a2e1a 0%, #2d3e2a 100%);
}

.showcase-card__header--pasteleria {
    background: linear-gradient(135deg, #8b6250 0%, #c39a86 100%);
}

.showcase-card__header--origen {
    background: linear-gradient(135deg, #2d1b00 0%, #4a2e00 100%);
}

.showcase-card__header--barber {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a44 100%);
}

.showcase-card__header-icon {
    font-size: 2.5rem;
    color: #e8b84b;
    margin-bottom: 10px;
}

.showcase-card__header-title {
    font-size: 1.1rem;
    color: #ffffff !important;
    margin-bottom: 4px;
    font-weight: 700;
}

.showcase-card__header-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

/* Body */
.showcase-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.showcase-card__body p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.showcase-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.showcase-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.showcase-control:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.showcase-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.showcase-control.prev {
    left: -22px;
}

.showcase-control.next {
    right: -22px;
}

@media (max-width: 1200px) {
    .showcase-control.prev {
        left: 10px;
    }
    .showcase-control.next {
        right: 10px;
    }
}

/* Hide navigation controls on mobile to rely on touch scrolling */
@media (max-width: 768px) {
    .showcase-control {
        display: none;
    }
}

.showcase-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.showcase-indicators .showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.showcase-indicators .showcase-dot.active {
    width: 20px;
    border-radius: 100px;
    background: var(--color-action);
}

/* --- MOBILE: Horizontal carousel --- */
@media (max-width: 768px) {
    .showcase-grid {
        gap: 16px;
    }

    .showcase-card {
        flex: 0 0 85%;
    }

    .showcase-indicators {
        display: flex;
    }
}


.list-unstyled li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
    position: relative;
}

.li-titulo {
    color: var(--color-primary) !important;
    font-weight: 700;
    margin-top: 1rem;
    padding-left: 0 !important;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    box-shadow: -4px 0px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--color-action);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 800px;
}

/* --- CHAT CONTACT SECTION --- */
.chat-window {
    max-width: 500px;
    margin: 0 auto;
    background: #f0f2f5;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.4);
}

.chat-header {
    background: #075e54;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
}

.chat-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #25D366;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.pulse-online {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-image: url('/webz/whatsapp_background.webp');
    background-repeat: repeat;
    min-height: 428px;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(10px);
}

.bubble-bot {
    align-self: flex-start;
    background: white;
    color: var(--color-text);
    border-top-left-radius: 0px;
}

.bubble-bot::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 10px solid white;
    border-left: 10px solid transparent;
}

.bubble-user {
    align-self: flex-end;
    background: #e2ffc7;
    color: var(--color-text);
    border-top-right-radius: 0px;
}

.bubble-user::before {
    content: "";
    position: absolute;
    right: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 10px solid #e2ffc7;
    border-right: 10px solid transparent;
}

.chat-bubble.show {
    animation: bubbleIn 0.4s ease forwards;
}

@keyframes bubbleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
}

.chat-options.show {
    animation: fadeIn 0.5s ease forwards;
}

.reply-btn {
    text-align: left;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reply-btn:active {
    transform: scale(0.96);
}

.reply-btn:hover {
    background: #f8fafc;
    transform: translateX(5px);
    border-color: var(--color-action);
    color: var(--color-action);
}

.btn-presencia {
    border-left: 4px solid #3b82f6;
}

.btn-gestionado {
    border-left: 4px solid #22c55e;
}

.btn-duda {
    border-left: 4px solid #94a3b8;
}

.btn-nointeresa {
    border-left: 4px solid #e5515f;
}


