* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0f1f;
    min-height: 100vh;
    color: #e8e8f0;
    font-size: 18px;
}

.fondo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
    z-index: -2;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(10, 15, 31, 0.75) 0%, rgba(20, 18, 35, 0.8) 100%);
    z-index: -3;
}

.contenedor {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 30px;
    position: relative;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 197, 66, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 38px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f5c542, #e05a5a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 15px;
    color: #a0a0b8;
}

.perfil-selector {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(10, 15, 31, 0.7);
    backdrop-filter: blur(12px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(245, 197, 66, 0.35);
}

.perfil-selector span {
    font-size: 16px;
    color: #d0d0e0;
}

.perfil-botones {
    display: flex;
    gap: 10px;
}

.perfil-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    color: #c0c0d0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.perfil-btn.activo {
    background: linear-gradient(135deg, #f5c542, #e05a5a);
    color: #0a0f1f;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(245, 197, 66, 0.4);
}

.perfil-btn:hover:not(.activo) {
    background: rgba(245, 197, 66, 0.15);
    color: #f5c542;
}

/* BUSCADOR */
.buscador-container {
    margin-bottom: 30px;
}

.buscador-card {
    background: rgba(12, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(245, 197, 66, 0.3);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.buscador-card i {
    font-size: 22px;
    color: #f5c542;
}

.buscador-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #e8e8f0;
    outline: none;
}

.buscador-input::placeholder {
    color: #7a7a90;
}

.limpiar-busqueda {
    background: rgba(245, 197, 66, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: #f5c542;
    transition: all 0.3s ease;
}

.limpiar-busqueda:hover {
    background: rgba(245, 197, 66, 0.4);
    transform: scale(1.05);
}

/* HERO */
.hero {
    margin: 30px 0 50px;
    background: rgba(10, 15, 31, 0.45);
    backdrop-filter: blur(14px);
    padding: 45px 30px;
    border-radius: 56px;
    border: 1px solid rgba(245, 197, 66, 0.3);
}

.hero-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-texto {
    text-align: center;
}

.hero-texto h2 {
    font-size: 38px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.hero-texto p {
    color: #c8c8dc;
    font-size: 18px;
}

.hero-icono-derecha i {
    font-size: 65px;
    color: #f5c542;
}

/* SECCIÓN SERVICIOS */
.servicios {
    margin: 60px 0;
}

h3 {
    font-size: 32px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
}

h3 i {
    background: linear-gradient(135deg, #f5c542, #e05a5a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 36px;
}

.subtitulo {
    margin-bottom: 40px;
    color: #e8e8f0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

/* TARJETAS DE SERVICIOS */
.tarjeta-servicio {
    position: relative;
    background: rgba(12, 18, 34, 0.65);
    backdrop-filter: blur(12px);
    padding: 32px 25px;
    border-radius: 28px;
    border: 1px solid rgba(245, 197, 66, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    overflow: hidden;
}

.tarjeta-servicio::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f5c542, #e05a5a, #f5c542, #e05a5a);
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    background: rgba(18, 24, 42, 0.85);
    border-color: #f5c542;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(245, 197, 66, 0.3);
}

.tarjeta-servicio:hover::before {
    opacity: 0.5;
}

.tarjeta-servicio i {
    font-size: 52px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.tarjeta-servicio:hover i {
    animation: vibrar 0.5s ease-in-out;
}

@keyframes vibrar {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.tarjeta-servicio::after {
    content: "🐾";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tarjeta-servicio:hover::after {
    opacity: 0.5;
}

.tarjeta-servicio h4 {
    font-size: 26px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.tarjeta-servicio p {
    font-size: 15px;
    color: #c8c8e0;
    line-height: 1.6;
}

.badge-nuevo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #e05a5a, #f5c542);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: #0a0f1f;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite;
}

.badge-nuevo img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* BOTONES INGRESAR */
.boton-ingresar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f5c542, #e05a5a);
    border-radius: 40px;
    color: #0a0f1f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.boton-ingresar:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #e8c56e, #c9a03d);
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.8);
}

.boton-ingresar img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

/* SECCIÓN ENLACES DIRECTOS */
.enlaces-directos-section {
    margin: 40px 0;
}

.enlaces-card {
    background: rgba(12, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(245, 197, 66, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.enlaces-card:hover {
    border-color: #f5c542;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.enlaces-header {
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.15), rgba(224, 90, 90, 0.1));
    padding: 18px 25px;
    border-bottom: 1px solid rgba(245, 197, 66, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.enlaces-header i {
    font-size: 28px;
    color: #f5c542;
}

.enlaces-header h3 {
    margin: 0;
    font-size: 24px;
    background: linear-gradient(135deg, #ffffff, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.enlaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 25px;
}

.enlace-item {
    background: rgba(10, 18, 34, 0.6);
    border: 1px solid rgba(245, 197, 66, 0.2);
    border-radius: 24px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.enlace-item i {
    font-size: 36px;
    color: #f5c542;
    transition: transform 0.3s ease;
}

.enlace-item span {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.enlace-item small {
    font-size: 11px;
    color: #a0a0b8;
}

.enlace-item:hover {
    transform: translateY(-5px);
    background: rgba(20, 30, 50, 0.8);
    border-color: #f5c542;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.enlace-item:hover i {
    transform: scale(1.1);
}

/* SECCIÓN PRÓXIMAMENTE */
.proximamente-section {
    margin: 40px 0;
}

.proximamente-card {
    background: rgba(12, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px dashed rgba(245, 197, 66, 0.4);
    overflow: hidden;
}

.proximamente-card:hover {
    border-color: #f5c542;
    border-style: solid;
}

.proximamente-header {
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.1), rgba(224, 90, 90, 0.05));
    padding: 18px 25px;
    border-bottom: 1px dashed rgba(245, 197, 66, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.proximamente-header i {
    font-size: 28px;
    color: #f5c542;
}

.proximamente-header h3 {
    margin: 0;
    font-size: 24px;
    background: linear-gradient(135deg, #ffffff, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.proximamente-content {
    padding: 20px 25px;
}

.proximamente-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 197, 66, 0.1);
}

.proximamente-item i {
    font-size: 28px;
    color: #f5c542;
}

.proximamente-item h4 {
    font-size: 18px;
    color: #e8e8f0;
    margin-bottom: 5px;
}

.proximamente-item p {
    font-size: 13px;
    color: #a0a0b8;
}

/* SECCIÓN ATENCIÓN */
.atencion-section, .canales-section, .legal-section {
    margin: 50px 0 40px;
}

.atencion-card, .canales-card, .legal-card {
    background: rgba(12, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(245, 197, 66, 0.3);
    overflow: hidden;
}

.atencion-header, .canales-header, .legal-header {
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.15), rgba(224, 90, 90, 0.1));
    padding: 22px 30px;
    border-bottom: 1px solid rgba(245, 197, 66, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.atencion-header i, .canales-header i, .legal-header i {
    font-size: 36px;
    color: #f5c542;
}

.atencion-header h3, .canales-header h3, .legal-header h3 {
    margin: 0;
    font-size: 28px;
    background: linear-gradient(135deg, #ffffff, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.atencion-content {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    padding: 30px;
}

.atencion-info {
    flex: 2;
    min-width: 280px;
}

.atencion-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 197, 66, 0.08);
}

.atencion-item i {
    font-size: 24px;
    color: #f5c542;
    min-width: 40px;
}

.atencion-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.atencion-item strong {
    color: #f5c542;
    font-size: 16px;
}

.atencion-item span {
    color: #c8c8e0;
    font-size: 15px;
}

.atencion-nota {
    font-size: 13px;
    color: #a0a0b8 !important;
    font-style: italic;
    margin-top: 5px;
}

.atencion-mascota {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(245, 197, 66, 0.08);
    border-radius: 28px;
    padding: 35px 20px;
    text-align: center;
}

.atencion-mascota-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(245, 197, 66, 0.12);
    padding: 15px;
    border: 3px solid rgba(245, 197, 66, 0.4);
}

.te-esperamos-texto {
    color: #f5c542;
    font-size: 32px;
    font-weight: 700;
}

/* CANALES ATENCIÓN */
.canales-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px;
}

.canales-columna {
    flex: 1;
    min-width: 250px;
}

.canales-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 197, 66, 0.08);
}

.canales-item i {
    font-size: 24px;
    color: #f5c542;
    min-width: 40px;
}

.canales-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.canales-item strong {
    color: #f5c542;
    font-size: 16px;
}

.canales-item span {
    color: #c8c8e0;
    font-size: 15px;
}

.canales-item .enlace-csu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.15), rgba(224, 90, 90, 0.1));
    border-radius: 40px;
    color: #f5c542;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 197, 66, 0.3);
    width: fit-content;
}

.canales-item .enlace-csu:hover {
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.3), rgba(224, 90, 90, 0.2));
    transform: translateX(5px);
    color: #ffffff;
}

/* INFORMACIÓN LEGAL */
.legal-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 25px;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 220px;
    padding: 10px 0;
}

.legal-item i {
    font-size: 22px;
    color: #f5c542;
    min-width: 35px;
}

.legal-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-item strong {
    color: #f5c542;
    font-size: 13px;
}

.legal-item span {
    color: #c8c8e0;
    font-size: 13px;
}

.lema-container {
    text-align: center;
    margin: 40px 0 30px;
    padding: 20px;
}

.lema-texto {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(135deg, #f5c542, #e8c56e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* FOOTER */
.footer {
    margin-top: 70px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(245, 197, 66, 0.2);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-escudo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-mascota {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 18px 0;
    padding: 8px 25px;
    background: rgba(245, 197, 66, 0.1);
    border-radius: 50px;
}

.footer-mascota-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-mascota i {
    font-size: 32px;
    color: #f5c542;
}

.copyright {
    font-size: 13px;
    color: #7a7a90;
    margin-top: 20px;
}

/* ESCUDOS */
.escudo-titulo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.escudo-hero {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.escudo-hero:hover {
    transform: scale(1.08);
}

/* PANEL ADMIN */
.admin-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: rgba(10, 15, 31, 0.98);
    backdrop-filter: blur(16px);
    border-left: 2px solid #f5c542;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.admin-panel.open {
    right: 0;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(245, 197, 66, 0.15), rgba(224, 90, 90, 0.1));
    border-bottom: 1px solid rgba(245, 197, 66, 0.3);
}

.admin-panel-header h3 {
    color: #f5c542;
}

.close-admin {
    background: rgba(245, 197, 66, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    color: #f5c542;
}

.admin-panel-content {
    padding: 20px;
}

.admin-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(245, 197, 66, 0.2);
}

.admin-section h4 {
    color: #f5c542;
    margin-bottom: 12px;
}

.admin-btn {
    background: linear-gradient(135deg, #f5c542, #e05a5a);
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    color: #0a0f1f;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.admin-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 197, 66, 0.3);
    border-radius: 30px;
    padding: 10px;
    color: #e8e8f0;
    width: 100%;
    margin-bottom: 10px;
}

.admin-servicio-item, .admin-nuevo-item, .admin-proximamente-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(245, 197, 66, 0.1);
}

.admin-servicio-item button, .admin-nuevo-item button, .admin-proximamente-item button {
    background: rgba(245, 197, 66, 0.2);
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    color: #f5c542;
}

.admin-panel-footer {
    padding: 15px;
    text-align: center;
    font-size: 11px;
    color: #7a7a90;
    border-top: 1px solid rgba(245, 197, 66, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contenedor { padding: 15px; }
    .header { flex-direction: column; text-align: center; }
    .logo { justify-content: center; }
    .logo h1 { font-size: 28px; }
    .perfil-selector { flex-wrap: wrap; justify-content: center; }
    .perfil-botones { flex-wrap: wrap; justify-content: center; }
    .hero-contenido { flex-direction: column; }
    .hero-texto h2 { font-size: 28px; }
    .hero-icono-derecha i { font-size: 48px; }
    h3 { font-size: 24px; }
    .subtitulo { font-size: 16px; }
    .servicios-grid { grid-template-columns: 1fr; }
    .admin-panel { width: 100%; right: -100%; }
    .escudo-hero { width: 65px; height: 65px; }
    .atencion-mascota-img { width: 80px; height: 80px; }
    .te-esperamos-texto { font-size: 24px; }
    .enlaces-grid { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
    .enlace-item { padding: 15px; flex-direction: row; justify-content: flex-start; gap: 15px; }
    .enlace-item i { font-size: 28px; }
    .enlace-item span { font-size: 16px; }
    .legal-content { flex-direction: column; }
}