/* Estilos específicos para la página de citas */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.citas-hero {
    background: linear-gradient(135deg, #2c5f6f, #4a9ebb);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.citas-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

.citas-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.citas-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

.back-button {
    position: absolute;
    top: 4rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.253);
    color: rgb(255, 255, 255);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    z-index: 10;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.citas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.citas-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.cita-option {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cita-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 187, 0.1), transparent);
    transition: left 0.5s ease;
}

.cita-option:hover::before {
    left: 100%;
}

.cita-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #4a9ebb;
}

.cita-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(74, 158, 187, 0.3);
}

.cita-option h3 {
    color: #2c2c2c;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.cita-option p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cita-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.cita-features li {
    color: #555;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.cita-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a9ebb;
    font-weight: bold;
}

.cita-button {
    background: linear-gradient(135deg, #4a9ebb, #2c5f6f);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(74, 158, 187, 0.3);
}

.cita-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 158, 187, 0.4);
    background: linear-gradient(135deg, #5bb8d6, #4a9ebb);
}

.calendar-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.calendar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-header h2 {
    color: #2c2c2c;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.calendar-header p {
    color: #666;
    font-size: 1.1rem;
}

.calendar-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.zoom-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c2c2c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9ebb;
}

.info-section {
    background: linear-gradient(135deg, #2c5f6f, #4a9ebb);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    opacity: 0.9;
    line-height: 1.5;
}

/* Estilos para integración con WhatsApp */
.precio-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.precio-label {
    color: #666;
    font-size: 1rem;
}

.precio-monto {
    color: #2c5f6f;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Badge de precio en la tarjeta de cita virtual */
.cita-option .precio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .citas-hero h1 {
        font-size: 2.5rem;
         padding: 1rem 0 !important;;
    }

    .citas-hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .citas-options {
        gap: 2rem;
    }

    .cita-option {
        padding: 2.5rem;
    }

    .cita-icon img{
        height: 38px;
        width: 38px;
    }

    .back-button {
        
    top: 3rem !important;
    left: 4rem;
    
    
    }
}

@media (max-width: 768px) {
    .citas-hero {
        padding: 3rem 0 1.5rem;
    }

    .citas-hero h1 {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .citas-hero p {
        font-size: 1.1rem;
    }

    .back-button {
        position: relative;
        
        display: inline-block;
        width: auto;
        top: 2.7rem;
        left: 0.5rem;

        
    }

    .citas-container {
        padding: 3rem 1.5rem;
    }

    .citas-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cita-option {
        padding: 2rem;
    }

    .cita-option h3 {
        font-size: 1.6rem;
    }

    .cita-option p {
        font-size: 1rem;
    }

    .cita-features li {
        font-size: 0.95rem;
    }

    .cita-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .calendar-section {
        padding: 2rem;
        border-radius: 15px;
    }

    .calendar-header h2 {
        font-size: 1.8rem;
    }

    .calendar-header p {
        font-size: 1rem;
    }

    .calendar-iframe {
        height: 500px;
        border-radius: 10px;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .info-section {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .precio-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .precio-monto {
        font-size: 1.3rem;
    }

    .cita-option .precio-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .citas-hero {
        padding: 2.5rem 0 1rem;
    }

    .citas-hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .citas-hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .citas-container {
        padding: 2rem 1rem;
    }

    .cita-option {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .cita-option:hover {
        transform: translateY(-5px);
    }

    .cita-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cita-option h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .cita-option p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cita-features {
        margin-bottom: 1.5rem;
    }

    .cita-features li {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .cita-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 250px;
    }

    .calendar-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .calendar-header {
        margin-bottom: 1.5rem;
    }

    .calendar-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .calendar-header p {
        font-size: 0.9rem;
    }

    .calendar-iframe {
        height: 400px;
        border-radius: 8px;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.3rem;
        width: 35px;
        height: 35px;
    }

    .zoom-form {
        margin-top: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .info-section {
        padding: 2.5rem 1rem;
        margin-top: 2rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-cards {
        margin-top: 2rem;
        gap: 1rem;
    }

    .info-card {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .info-card p {
        font-size: 0.9rem;
    }

    .precio-info {
        padding: 0.8rem;
        margin: 1rem 0;
    }

    .precio-label {
        font-size: 0.9rem;
    }

    .precio-monto {
        font-size: 1.2rem;
    }

    .cita-option .precio-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
    }
}

/* Dispositivos muy pequeños */
@media (max-width: 360px) {
    .citas-hero h1 {
        font-size: 1.6rem;
    }

    .citas-hero p {
        font-size: 0.9rem;
    }

    .cita-option {
        padding: 1.2rem;
    }

    .cita-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .cita-option h3 {
        font-size: 1.3rem;
    }

    .cita-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    .calendar-iframe {
        height: 350px;
    }
}

/* Mejoras de accesibilidad y usabilidad */
@media (hover: none) and (pointer: coarse) {
    /* Dispositivos táctiles */
    .cita-option:hover {
        transform: none;
    }
    
    .cita-button:hover {
        transform: none;
    }
    
    .back-button:hover {
        transform: none;
    }
}

/* Orientación horizontal en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .citas-hero {
        padding: 2rem 0 1rem;
    }
    
    .citas-hero h1 {
        font-size: 2rem;
    }
    
    .calendar-iframe {
        height: 350px;
    }
    
    .modal-content {
        max-height: 85vh;
        padding: 1.5rem;
    }
}