html {
    scroll-behavior: smooth;
}

/* Hero Header */
.hero-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    position: relative;
}

.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.15);
}

.service-card-emoji {
    background-color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-size: 48px;
    line-height: 1;
}

.service-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-name {
    font-weight: 700;
    font-size: 16px;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.service-card-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.service-card-duration {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-card-price {
    font-weight: 700;
    font-size: 16px;
    color: #2563eb;
}

.service-card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.service-card-link:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

/* Calendar */
.cal-header {
    background-color: #1e3a5f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.cal-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.2s;
}

.cal-header button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.cal-header button:disabled {
    opacity: 0.3;
    cursor: default;
}

.cal-header span {
    font-weight: 600;
    font-size: 15px;
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.cal-days-header div {
    padding: 8px 0;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 14px;
}

.cal-day {
    padding: 8px 0;
}

.cal-day-empty {
    padding: 8px 0;
}

.cal-day-disabled {
    color: #cbd5e1;
}

.cal-day-available {
    cursor: pointer;
    background-color: #dbeafe;
    color: #1e3a5f;
    font-weight: 600;
    border-radius: 9999px;
    margin: 2px 4px;
    transition: background 0.2s, transform 0.15s;
}

.cal-day-available:hover {
    background-color: #bfdbfe;
    transform: scale(1.1);
}

.cal-day-selected {
    cursor: pointer;
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    border-radius: 9999px;
    margin: 2px 4px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Time Slots */
.slot-btn {
    padding: 10px 12px;
    border: 2px solid #2563eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover {
    background-color: #dbeafe;
}

.slot-btn-selected {
    background-color: #2563eb !important;
    color: white !important;
    border-color: #2563eb !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Result messages */
.result-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.result-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* WhatsApp button pulse animation */
#wa-float {
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Reset button in result */
.btn-reset {
    display: inline-block;
    margin-top: 8px;
    background-color: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.btn-reset:hover {
    background-color: #1e3a5f;
}
