:root {
    --color-primario: #f8d7e6;
    --color-secundario: #d4a5c3;
    --color-terciario: #a2678a;
    --color-texto: #4a4a4a;
    --color-blanco: #ffffff;
    --color-sombra: rgba(0, 0, 0, 0.1);
    --color-no-disponible: #f5f5f5;
    --color-disabled: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-texto);
    background-color: var(--color-blanco);
    line-height: 1.6;
}

.contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--color-blanco);
    box-shadow: 0 2px 10px var(--color-sombra);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.cabecera {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--color-terciario);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 11px;
    color: var(--color-secundario);
    margin: 0;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-texto);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    padding: 5px 0;
    display: block;
}

nav ul li a:hover {
    color: var(--color-terciario);
}

.hero {
    background: linear-gradient(rgba(248, 215, 230, 0.8), rgba(248, 215, 230, 0.8)), url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.hero-contenido {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--color-terciario);
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--color-terciario);
    color: var(--color-blanco);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--color-sombra);
}

.seccion {
    padding: 80px 0;
}

.seccion-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-terciario);
}

.servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servicio {
    background-color: var(--color-blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--color-sombra);
    transition: transform 0.3s;
}

.servicio:hover {
    transform: translateY(-10px);
}

/* Ajustar altura de imágenes de servicios */
.servicio-imagen {
    height: 250px !important; /* Aumentar la altura */
    background-size: cover;
    background-position: center center; /* Centrar la imagen */
    background-repeat: no-repeat;
}

/* Asegurar que el contenido del servicio se ajuste a la nueva altura */
.servicio-contenido {
    padding: 20px;
    min-height: 280px; /* Ajustar según necesidad */
}

.servicio-categoria {
    display: inline-block;
    background-color: var(--color-primario);
    color: var(--color-terciario);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.servicio-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.servicio-precio {
    font-weight: 600;
    color: var(--color-terciario);
    margin-bottom: 15px;
}

.servicio-descripcion {
    margin-bottom: 15px;
    font-size: 14px;
}

.formulario-reserva {
    background-color: var(--color-blanco);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px var(--color-sombra);
    max-width: 800px;
    margin: 0 auto;
}

.form-grupo {
    margin-bottom: 20px;
}

.form-grupo label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-grupo input,
.form-grupo select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

footer {
    background-color: var(--color-terciario);
    color: var(--color-blanco);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-columna {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-redes {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-redes a {
    color: var(--color-blanco);
    font-size: 20px;
    transition: color 0.3s;
}

.footer-redes a:hover {
    color: var(--color-primario);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-contenido {
    background-color: var(--color-blanco);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.cerrar-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-terciario);
}

.cerrar-modal:hover {
    color: var(--color-secundario);
}

/* Pestañas de categorías */
.categorias {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.categoria-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-texto);
    position: relative;
    transition: color 0.3s;
    font-size: 14px;
}

.categoria-btn:hover {
    color: var(--color-terciario);
}

.categoria-btn.active {
    color: var(--color-terciario);
}

.categoria-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: var(--color-terciario);
}

/* Estilos para mensajes de error */
.error-message {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.form-grupo.error input,
.form-grupo.error select {
    border-color: #ff4444;
}

.form-grupo.error .error-message {
    display: block;
}

/* Estilos para mensajes de éxito */
.success-message {
    color: #28a745;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.form-grupo.success input,
.form-grupo.success select {
    border-color: #28a745;
}

.form-grupo.success .success-message {
    display: block;
}

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Estilos para focus mejorado */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--color-terciario);
    outline-offset: 2px;
}

/* Animaciones sutiles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicio {
    animation: fadeIn 0.5s ease-out;
}

/* Estilos para impresión */
@media print {
    .modal,
    header,
    footer {
        display: none !important;
    }
    
    .modal-contenido {
        position: static;
        margin: 0;
        padding: 20px;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ==================== */
/* ESTILOS DEL CALENDARIO */
/* ==================== */
.calendar-container {
    position: relative;
    width: 100%;
}

.calendar-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    cursor: pointer;
    background-color: var(--color-blanco);
    color: var(--color-texto);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0,1 1 0V1h1a2 2 0 0,1 2 2v11a2 2 0 0,1-2 2H2a2 2 0 0,1-2-2V3a2 2 0 0,1 2-2h1V.5a.5.5 0 0,1 .5-.5zM2 2a1 1 0 0,0-1 1v1h14V3a1 1 0 0,0-1-1H2zm13 3H1v9a1 1 0 0,0 1 1h12a1 1 0 0,0 1-1V5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    transition: border-color 0.3s ease;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
}

.calendar-input:focus {
    outline: none;
    border-color: var(--color-terciario);
}

.calendar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 320px;
    background: var(--color-blanco);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 5px;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.calendar-dropdown.active {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month-year {
    font-weight: 600;
    color: var(--color-terciario);
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.calendar-nav {
    background: var(--color-terciario);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--color-secundario);
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--color-terciario);
    gap: 2px;
}

.calendar-weekdays > div {
    padding: 5px 0;
}

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

.calendar-day {
    background-color: var(--color-blanco);
    color: var(--color-texto);
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Días disponibles */
.calendar-day.disponible {
    background-color: #c8e6c9;
    color: #1b5e20;
    border-color: #4caf50;
    font-weight: bold;
}

.calendar-day.disponible:hover {
    background-color: #81c784;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Días no disponibles */
.calendar-day.no-disponible {
    background-color: #ffebee;
    color: #c62828;
    border-color: #f44336;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Días pasados o deshabilitados */
.calendar-day.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Días no laborables */
.calendar-day.no-laborable {
    background-color: #fff8e1;
    color: #f57c00;
    border-color: #ff9800;
    cursor: not-allowed;
}

/* Días de otros meses */
.calendar-day.other-month {
    color: #ccc;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

/* Día actual */
.calendar-day.today {
    border: 2px solid var(--color-terciario);
    font-weight: bold;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}

.calendar-day.today.disponible {
    background-color: #e8f5e8;
    color: var(--color-terciario);
}

/* Día seleccionado */
.calendar-day.selected {
    background-color: var(--color-terciario) !important;
    color: white !important;
    font-weight: bold;
    border-color: var(--color-terciario);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.4);
}

/* Tooltips para días */
.calendar-day[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1001;
    margin-bottom: 5px;
}

.calendar-day[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
    z-index: 1002;
    margin-bottom: -4px;
}

/* Estilos mejorados para la selección de método de pago */
.form-grupo.metodo-pago {
    margin-bottom: 25px;
}

.form-grupo.metodo-pago label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--color-terciario);
}

.metodos-pago-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.metodo-pago-option {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.metodo-pago-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.metodo-pago-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: var(--color-blanco);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.metodo-pago-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-terciario);
}

.metodo-pago-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-texto);
}

.metodo-pago-desc {
    font-size: 14px;
    color: #666;
}

/* Efectos hover y selección */
.metodo-pago-option input[type="radio"]:hover + .metodo-pago-card {
    border-color: var(--color-secundario);
    box-shadow: 0 5px 15px rgba(210, 165, 195, 0.2);
}

.metodo-pago-option input[type="radio"]:checked + .metodo-pago-card {
    border-color: var(--color-terciario);
    background-color: rgba(248, 215, 230, 0.2);
    box-shadow: 0 5px 15px rgba(162, 103, 138, 0.2);
}

.metodo-pago-option input[type="radio"]:checked + .metodo-pago-card .metodo-pago-title {
    color: var(--color-terciario);
}

/* Estilos para la sección de ubicación */
.mapa-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--color-sombra);
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos mejorados para redes sociales con colores pastel */
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.red-social-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.red-social-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-social-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.red-social-item span {
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
}

.red-social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    z-index: 0;
}

.red-social-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* WhatsApp con colores pastel */
.red-social-item.wsp {
    background: linear-gradient(135deg, #b8f2d6, #a8e6cf);
}

.red-social-item.wsp:hover {
    background: linear-gradient(135deg, #a8e6cf, #98dac0);
}

/* Instagram con colores pastel */
.red-social-item.instagram {
    background: linear-gradient(45deg, #fbd1e8, #e8c5f7, #d5bef7, #c5b8f7, #b8aff7);
    background-size: 200% 200%;
    animation: gradientBGPastel 3s ease infinite;
}

@keyframes gradientBGPastel {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.red-social-item.instagram:hover {
    background: linear-gradient(45deg, #f5c1df, #deb8f2, #cab1f2, #baa9f2, #ab9ff2);
    background-size: 200% 200%;
    animation: gradientBGPastel 2s ease infinite;
}

/* Estilos mejorados para la sección de contacto */
.contacto-contenido {
    background-color: var(--color-blanco);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(162, 103, 138, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contacto-contenido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primario), var(--color-terciario), var(--color-primario));
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(248, 215, 230, 0.2);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.info-item:hover {
    background-color: rgba(248, 215, 230, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(162, 103, 138, 0.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background-color: var(--color-terciario);
    border-radius: 50%;
    padding: 8px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.info-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-texto);
}

/* Mapa con efecto hover */
.mapa-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(162, 103, 138, 0.2);
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.mapa-container:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(0deg);
    box-shadow: 0 15px 40px rgba(162, 103, 138, 0.3);
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-contacto > *,
.mapa-container,
.redes-sociales {
    animation: fadeInUp 0.6s ease-out forwards;
}

.info-contacto > *:nth-child(1) { animation-delay: 0.1s; }
.info-contacto > *:nth-child(2) { animation-delay: 0.2s; }
.info-contacto > *:nth-child(3) { animation-delay: 0.3s; }
.mapa-container { animation-delay: 0.4s; }
.redes-sociales { animation-delay: 0.5s; }

/* Para dispositivos móviles */
@media (max-width: 768px) {
    .cabecera {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .logo-container {
        flex-direction: row;
        height: auto;
        margin-bottom: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .logo-text {
        text-align: left;
    }
    
    .logo-text h1 {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    nav ul {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 8px;
    }
    
    nav ul li a {
        font-size: 13px;
        padding: 3px 0;
    }
    
    .hero {
        margin-top: 90px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .seccion {
        padding: 50px 0;
    }
    
    .seccion-titulo {
        font-size: 28px;
    }
    
    .formulario-reserva {
        padding: 20px;
    }
    
    .metodo-pago-card {
        padding: 15px;
    }
    
    .metodo-pago-title {
        font-size: 14px;
    }
    
    .metodo-pago-desc {
        font-size: 12px;
    }
    
    /* Ajustar altura de imágenes en móviles */
    .servicio-imagen {
        height: 200px !important;
    }
    
    .servicio-contenido {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 9px;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 3px 5px;
    }
    
    nav ul li a {
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .redes-sociales {
        flex-direction: column;
        align-items: center;
    }
    
    .red-social-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .contacto-contenido {
        padding: 30px 15px;
    }
    
    /* Ajustar altura de imágenes en móviles pequeños */
    .servicio-imagen {
        height: 180px !important;
    }
    
    .servicio-contenido {
        min-height: 220px;
    }
}

/* Añadir estilo para el spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Crédito del desarrollador - Estilo mejorado */
.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.footer-credit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.1) 50%, 
                rgba(255, 255, 255, 0) 100%);
    transition: left 0.7s ease;
}

.footer-credit:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-credit:hover::before {
    left: 100%;
}

.footer-credit-logo {
    font-weight: 700;
    background: linear-gradient(135deg, #a2678a, #d4a5c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.footer-credit:hover .footer-credit-logo {
    background: linear-gradient(135deg, #d4a5c3, #f8d7e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-credit-text {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-credit:hover .footer-credit-text {
    opacity: 1;
}

/* Animación de entrada */
@keyframes fadeInUpCredit {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-credit {
    animation: fadeInUpCredit 0.8s ease-out 0.5s both;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-credit {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-top: 12px;
    }
    
    .footer-credit-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-credit {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 8px;
    }
}
/* Estilos para el crédito del desarrollador - Versión sutil */
.dev-credit {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
}

.dev-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.dev-logo {
    font-weight: 600;
    background: linear-gradient(135deg, #f8d7e6, #d4a5c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-size: 0.9rem;
}

.dev-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #f8d7e6, #d4a5c3);
    transition: width 0.3s ease;
}

.dev-link:hover {
    color: #ffffff;
}

.dev-link:hover::after {
    width: 100%;
}

.dev-link:hover .dev-logo {
    background: linear-gradient(135deg, #ffffff, #d4a5c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animación sutil de aparición */
@keyframes subtleFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dev-credit {
    animation: subtleFadeIn 0.8s ease-out 1s both;
}