/* ============================================
   WIZARD STYLES - LUTHERÍA GALLEGUILLOS
   Versión 2: 4 Categorías
   ============================================ */

/* Modal Overlay */
.wizard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.wizard-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Container */
.wizard-container {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

/* Header */
.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    border-radius: 16px 16px 0 0;
}

.wizard-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0;
}

.wizard-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.25rem;
    transition: background 0.3s;
}

.wizard-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Progress Bar */
.wizard-progress {
    padding: 1.5rem;
    position: relative;
}

.wizard-progress__bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.wizard-progress__bar::after {
    content: '';
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #8B4513, #B8860B);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: var(--progress, 33%);
}

.wizard-progress__steps {
    display: flex;
    justify-content: space-between;
}

.wizard-progress__step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.wizard-progress__step.active {
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    color: white;
    transform: scale(1.1);
}

.wizard-progress__step.completed {
    background: #4CAF50;
    color: white;
}

/* Steps */
.wizard-step {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.wizard-step__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #333;
    margin: 0 0 1.5rem;
}

/* Options Grid */
.wizard-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wizard-option {
    background: #f9f5f0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wizard-option:hover {
    border-color: #8B4513;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

.wizard-option.selected {
    border-color: #8B4513;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(184, 134, 11, 0.1) 100%);
}

.wizard-option__icon {
    font-size: 2rem;
}

.wizard-option__title {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.wizard-option__desc {
    color: #666;
    font-size: 0.8rem;
}

/* Form Styles */
.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wizard-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wizard-form__label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.wizard-form__input,
.wizard-form__select,
.wizard-form__textarea {
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.wizard-form__input:focus,
.wizard-form__select:focus,
.wizard-form__textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.wizard-form__textarea {
    resize: vertical;
    min-height: 80px;
}

/* Checkboxes & Radios */
.wizard-checkboxes,
.wizard-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wizard-checkbox,
.wizard-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.wizard-checkbox:hover,
.wizard-radio:hover {
    background: #f5f5f5;
}

.wizard-checkbox input,
.wizard-radio input {
    width: 18px;
    height: 18px;
    accent-color: #8B4513;
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.wizard-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.wizard-btn--secondary {
    background: #f0f0f0;
    color: #333;
}

.wizard-btn--secondary:hover {
    background: #e0e0e0;
}

.wizard-btn--primary {
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    color: white;
}

.wizard-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.wizard-btn--whatsapp {
    background: #25D366;
    color: white;
}

.wizard-btn--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Summary */
.wizard-summary {
    background: #f9f5f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.wizard-summary__section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.wizard-summary__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wizard-summary__label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.wizard-summary__value {
    font-weight: 600;
    color: #333;
}

/* Float Button */
.wizard-float-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(139, 69, 19, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(139, 69, 19, 0.4); }
}

.wizard-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.5);
}

.wizard-float-btn__icon {
    font-size: 1.5rem;
}

.wizard-float-btn__text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   NUEVOS ESTILOS PARA 4 CATEGORÍAS
   ============================================ */

/* Categoría Header */
.categoria-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(184, 134, 11, 0.05) 100%);
    border-radius: 12px;
}

.categoria-header__icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.categoria-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 0.5rem;
}

.categoria-header__description {
    color: #666;
    margin: 0;
}

/* Venta Categoría */
.venta-categoria {
    padding: 4rem 0;
    background: #faf8f5;
}

.venta-categoria:nth-child(even) {
    background: #fff;
}

.venta-categoria--electrica {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(184, 134, 11, 0.02) 100%);
}

/* Productos Grid */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Producto Card */
.producto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.producto-card--electrica {
    border: 2px solid transparent;
}

.producto-card--electrica:hover {
    border-color: #8B4513;
}

.producto-card--destacada {
    border: 2px solid #B8860B;
}

.producto-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.producto-card__image {
    height: 180px;
    overflow: hidden;
}

.producto-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.producto-card:hover .producto-card__image img {
    transform: scale(1.05);
}

.producto-card__content {
    padding: 1.25rem;
}

.producto-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 0.5rem;
}

.producto-card__description {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.producto-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.producto-card__specs span {
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #555;
}

.producto-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 1rem;
}

/* Servicio Categoría */
.servicio-categoria {
    padding: 4rem 0;
}

.servicio-categoria:nth-child(even) {
    background: #faf8f5;
}

.servicio-categoria--electrica {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(184, 134, 11, 0.02) 100%);
}

/* Servicios Grid */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Servicio Card */
.servicio-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.servicio-card--electrica {
    border: 2px solid transparent;
}

.servicio-card--electrica:hover {
    border-color: #8B4513;
}

.servicio-card__badge {
    position: absolute;
    top: -10px;
    left: 16px;
    background: linear-gradient(135deg, #8B4513 0%, #B8860B 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.servicio-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.servicio-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #333;
    margin: 0 0 0.75rem;
}

.servicio-card__description {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.servicio-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 1rem;
}

.servicio-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.servicio-card__features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.9rem;
}

.servicio-card__features li:last-child {
    border-bottom: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.dropdown:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown__link:hover {
    background: #f5f5f5;
    color: #8B4513;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wizard-options {
        grid-template-columns: 1fr;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown__menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
    }
    
    .wizard-float-btn {
        bottom: 80px;
        right: 15px;
        padding: 0.875rem 1.25rem;
    }
    
    .wizard-float-btn__text {
        display: none;
    }
    
    .wizard-float-btn__icon {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .wizard-container {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .wizard-header {
        border-radius: 0;
    }
    
    .wizard-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   BOTONES PEQUEÑOS
   ============================================ */
.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--small:hover {
    transform: translateY(-1px);
}

/* ============================================
   HOVER EFFECTS MÓVIL
   ============================================ */
@media (max-width: 768px) {
    /* Desactivar hover transforms en móvil */
    .producto-card:hover,
    .servicio-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Mantener solo el cambio de color */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Mejorar tamaño de toque */
    .wizard-close {
        width: 44px;
        height: 44px;
    }
    
    .wizard-radio,
    .wizard-checkbox {
        padding: 0.75rem 0.5rem;
        min-height: 44px;
    }
    
    .wizard-radio input,
    .wizard-checkbox input {
        width: 20px;
        height: 20px;
    }
    
    /* Mostrar texto del botón wizard con truncado */
    .wizard-float-btn {
        padding: 0.75rem 1rem;
    }
    
    .wizard-float-btn__text {
        font-size: 0.8rem;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ============================================
   BOTÓN VOLVER ARRIBA
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 180px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #8B4513;
    border-color: #8B4513;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 150px;
        right: 15px;
    }
}

/* ============================================
   GALERÍA DE JERÓNIMO
   ============================================ */
.galeria-jero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.03) 0%, rgba(184, 134, 11, 0.03) 100%);
}

.galeria-jero__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.galeria-jero__item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.galeria-jero__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-jero__item:hover img {
    transform: scale(1.05);
}

.galeria-jero__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 768px) {
    .galeria-jero__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .galeria-jero__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .galeria-jero__item {
        height: 180px;
    }
}

/* ============================================
   WIZARD DE AGENDAMIENTO
   ============================================ */

/* Modal Overlay */
.agendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.agendar-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

/* Container */
.agendar-container {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.agendar-container--large {
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Embed Container */
.agendar-embed {
    flex: 1;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agendar-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

/* Redirect Content */
.agendar-redirect {
    text-align: center;
    padding: 3rem 2rem;
}

.agendar-redirect__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.agendar-redirect__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.agendar-redirect__text {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Header */
.agendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    border-radius: 16px 16px 0 0;
}

.agendar-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0;
}

.agendar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.25rem;
    transition: background 0.3s;
}

.agendar-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Progress Bar */
.agendar-progress {
    padding: 1.25rem 1.5rem;
    position: relative;
}

.agendar-progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.agendar-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669, #10B981);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.agendar-progress-steps {
    display: flex;
    justify-content: space-between;
}

.agendar-progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.agendar-progress-step.active {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    transform: scale(1.1);
}

.agendar-progress-step.completed {
    background: #059669;
    color: white;
}

/* Steps */
.agendar-step {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.agendar-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.agendar-step__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #333;
    margin: 0 0 0.5rem;
}

.agendar-step__description {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

/* Service Cards */
.agendar-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.agendar-service-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.agendar-service-card:hover {
    border-color: #059669;
    transform: translateY(-2px);
}

.agendar-service-card.selected {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.05);
}

.agendar-service-card--full {
    grid-column: span 2;
}

.agendar-service-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.agendar-service-card__title {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.agendar-service-card__price {
    color: #059669;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Calendar */
.agendar-calendar {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.agendar-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.agendar-calendar-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin: 0;
}

.agendar-calendar-nav {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #059669;
    padding: 0.25rem 0.5rem;
}

.agendar-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.agendar-calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    padding: 0.5rem 0;
}

.agendar-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.agendar-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.agendar-calendar-day:hover:not(.disabled):not(.empty) {
    background: #d1fae5;
}

.agendar-calendar-day.selected {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
}

.agendar-calendar-day.today {
    border: 2px solid #059669;
}

.agendar-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.agendar-calendar-day.empty {
    cursor: default;
}

/* Urgency Badge */
.agendar-urgency-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agendar-urgency-badge.urgente {
    background: #FEE2E2;
    color: #DC2626;
}

.agendar-urgency-badge.normal {
    background: #FEF3C7;
    color: #D97706;
}

.agendar-urgency-badge.estandar {
    background: #D1FAE5;
    color: #059669;
}

/* Urgency Info */
.agendar-urgency-info {
    background: #f0fdf4;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #059669;
}

.agendar-urgency-info h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    color: #333;
}

.agendar-urgency-info ul {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
    padding-left: 1.25rem;
}

.agendar-urgency-info li {
    margin-bottom: 0.25rem;
}

/* Price Summary */
.agendar-price-summary {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.agendar-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.agendar-price-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.agendar-price-row.agendar-price-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #059669;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid #059669;
}

.agendar-price-label {
    color: #666;
}

.agendar-price-value {
    font-weight: 600;
}

.agendar-price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.agendar-price-discount {
    color: #059669;
    font-size: 0.9rem;
}

/* Form */
.agendar-form-group {
    margin-bottom: 1rem;
}

.agendar-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.agendar-form-input,
.agendar-form-select,
.agendar-form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.agendar-form-input:focus,
.agendar-form-select:focus,
.agendar-form-textarea:focus {
    outline: none;
    border-color: #059669;
}

.agendar-form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Navigation */
.agendar-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
}

.agendar-btn {
    flex: 1;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.agendar-btn--secondary {
    background: #f0f0f0;
    color: #333;
}

.agendar-btn--secondary:hover {
    background: #e0e0e0;
}

.agendar-btn--primary {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
}

.agendar-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.agendar-btn--whatsapp {
    background: #25D366;
    color: white;
}

.agendar-btn--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Summary */
.agendar-summary-section {
    margin-bottom: 1.25rem;
}

.agendar-summary-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #059669;
    font-size: 0.95rem;
}

.agendar-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.9rem;
}

.agendar-summary-item.agendar-summary-total {
    font-size: 1.1rem;
    color: #059669;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid #059669;
}

/* Confirmation */
.agendar-confirmation {
    text-align: center;
    padding: 2rem 1rem;
}

.agendar-confirmation__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.agendar-confirmation__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.agendar-confirmation__text {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Float Button */
.agendar-float-btn {
    position: fixed;
    bottom: 170px;
    right: 20px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4);
    z-index: 998;
    transition: all 0.3s;
}

.agendar-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.5);
}

.agendar-float-btn__icon {
    font-size: 1.5rem;
}

.agendar-float-btn__text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .agendar-container {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .agendar-container--large {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .agendar-header {
        border-radius: 0;
    }
    
    .agendar-embed iframe {
        min-height: 400px;
    }
    
    .agendar-service-grid {
        grid-template-columns: 1fr;
    }
    
    .agendar-service-card--full {
        grid-column: span 1;
    }
    
    .agendar-float-btn {
        bottom: 100px;
        right: 15px;
        padding: 0.75rem 1rem;
    }
    
    .agendar-float-btn__text {
        font-size: 0.8rem;
    }
    
    .agendar-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
