:root {
    --primary-color: #ffd700; /* Dorado */
    --background-color: #f4f7f6;
    --card-background: #ffffff;
    --text-color: #333333;
    --text-color-dark: #6c757d;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.main-container {
    width: 100%;
    max-width: 1200px;
}

.main-header {
    text-align: center;
    margin-bottom: 3rem;
}

.main-header .logo {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.main-header .subtitle {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.5rem 0 0 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* NUEVO: Borde superior decorativo */
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* ELIMINADO: Estilos de .card-image-container y .card-image */

.card-content {
    padding: 2rem; /* Aumentamos el padding para más espacio */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-content h3 {
    font-size: 1.3em;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.card-content .price {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0 1rem 0;
}

.card-content .description {
    color: var(--text-color-dark);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.includes-section {
    text-align: left;
    margin: auto 0 1.5rem 0;
    padding: 1rem 0 0 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--text-color-dark);
    flex-grow: 1;
}

.includes-section h4 {
    margin: 0 0 0.75rem 0;
    font-weight: bold;
    color: var(--text-color);
}

.includes-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-section li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.includes-section li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.schedule-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    display: inline-block;
    align-self: center;
}

.schedule-btn:hover {
    background-color: #e0b800;
}

.main-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color-light);
}

.main-footer .v-logo {
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
  #timeslots-grid {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
  }
}

.main-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.copyright {
    margin: 0;
    font-size: 0.8em;
    color: var(--text-color-dark);
}
.developer-credit {
    text-decoration: none;
    text-align: center;
    color: inherit;
}