/* ==================================================================
   VARIABLES GLOBALES - PALETA ROJO/NARANJA CORPORATIVA
   ================================================================== */
:root {
    --primary: #1a1a1a;
    --primary-dark: #0d0d0d;
    --secondary: #2d2d2d;
    
    /* Paleta de colores basada en Rojo, Naranja y Blanco */
    --accent-red: #c2185b;
    --accent-orange: #f57c00;
    --accent-gold: #ff9800;
    --accent-light: #ffc107;
    
    /* Degradados */
    --gradient-primary: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-orange) 100%);
    --gradient-bg-otros: linear-gradient(135deg, rgba(255, 243, 224, 0.95) 0%, rgba(255, 235, 200, 0.9) 50%, rgba(255, 228, 180, 0.85) 100%);

    --light: #fafafa;
    --light-gray: #f5f5f5;
    --mid-gray: #e0e0e0;
    --dark-gray: #666666;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #888888;
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.2);
    --shadow-xxl: 0 32px 80px rgba(194, 24, 91, 0.25);
    
    --font-primary: 'Inter', 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
}

/* ==================================================================
   SECCIÓN 1: SERVICIOS PRINCIPALES (TARJETAS CON IMAGEN)
   ================================================================== */

.services-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* Clave para igualar alturas */
    gap: 1.5rem;
    padding: 4rem 1rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* Fondo decorativo sutil detrás de las tarjetas */
.services-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(245, 124, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(194, 24, 91, 0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.services-container > * {
    position: relative;
    z-index: 1;
}

/* Título principal de la sección */
.services-container + h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.services-container + h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* CAJA DE SERVICIO (TARJETA) */
.service-box {
    min-height: 600px; 
    flex: 1 1 200px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
}

/* Línea superior de color */
.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(194, 24, 91, 0.15);
}

.service-box:hover::before {
    transform: scaleX(1);
}

/* BADGES SUPERIORES (Etiquetas flotantes) */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 20;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
    animation: badge-entry 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

/* Animación escalonada de badges */
.service-box:nth-child(1) .service-badge { animation-delay: 0.3s; }
.service-box:nth-child(2) .service-badge { animation-delay: 0.4s; }
.service-box:nth-child(3) .service-badge { animation-delay: 0.5s; }
.service-box:nth-child(4) .service-badge { animation-delay: 0.6s; }

@keyframes badge-entry {
    to { opacity: 1; transform: translateX(0); }
}

.service-box:hover .service-badge {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Colores específicos de badges */
.service-badge.extranjeria { background: rgba(30, 58, 138, 0.95); color: #fff; }
.service-badge.legal { background: rgba(194, 24, 91, 0.95); color: #fff; }
.service-badge.fiscal { background: rgba(4, 120, 87, 0.95); color: #fff; }
.service-badge.autonomo { background: rgba(245, 124, 0, 0.95); color: #fff; }

.badge-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGEN DEL SERVICIO */
.service-box img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%) brightness(0.95);
    display: block;
}

.service-box:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.service-box:hover .service-overlay {
    opacity: 1;
}

/* TEXTO Y ETIQUETAS DE DEPARTAMENTO */
.service-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(to top, rgba(255,255,255,1) 70%, rgba(255,255,255,0));
    z-index: 5;
    transition: var(--transition);
    max-width: 85%;
    pointer-events: none;
}

.service-text h3, .service-text p, .service-label {
    pointer-events: auto; 
}

.service-box:hover .service-text {
    transform: translateY(-5px);
}

/* Etiqueta de Departamento (Estilo Corporativo) */
.service-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 14px;
}

.service-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--accent-red);
}

.service-text h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
    transition: var(--transition);
}

.service-box:hover .service-text h3 {
    color: var(--accent-red);
}

.service-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* CONTENIDO INTERNO (LISTA) */
.service-more {
    padding: 1.5rem;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 10;
    border-top: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.service-more ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 0.8rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 5px;
    pointer-events: auto; 
    z-index: 20;
    position: relative;
}

/* Scrollbar minimalista */
.service-more ul::-webkit-scrollbar { width: 4px; }
.service-more ul::-webkit-scrollbar-track { background: transparent; }
.service-more ul::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.service-more ul::-webkit-scrollbar-thumb:hover { background: var(--accent-orange); }

.service-more ul li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.service-more ul li:last-child { border-bottom: none; }

.service-more ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-more ul li:hover {
    color: var(--accent-red);
    transform: translateX(5px);
}

.service-more ul li:hover::before {
    background: var(--accent-red);
    transform: scale(1.2);
}

/* BOTÓN CORPORATIVO */
.service-more .form-btn {
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 0;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    width: 100%;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service-more .form-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ==================================================================
   SECCIÓN 2: OTROS SERVICIOS (CON CONTENEDOR AGRUPADOR)
   ================================================================== */

.otros-services-wrapper {
    background-color: #fcf9f5;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 4rem auto;
    max-width: 1600px;
    border: 1px solid rgba(245, 124, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.otros-servicios-section {
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 0; 
    padding: 0;
    background: transparent;
    border: none;
}

.otros-header {
    text-align: center;
    padding: 0 2rem 3rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.otros-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.1), rgba(194, 24, 91, 0.1));
    color: var(--primary);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 124, 0, 0.3);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.1);
    pointer-events: none;
}

.otros-badge .badge-icon {
    font-size: 1.2rem;
}

.otros-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 1rem 0;
    text-align: center;
    position: relative;
}

.otros-title::before {
    content: '✦';
    display: block;
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.otros-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.otros-subtitle {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

.otros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.otro-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
}

.otro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.otro-card:hover::before {
    transform: scaleX(1);
}

.otro-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.otro-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.1), rgba(194, 24, 91, 0.1));
    border-radius: 50%;
    color: var(--accent-orange);
    transition: var(--transition);
}

.otro-card:hover .icon-wrapper {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1);
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.card-desc {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Overlay solo hover */
.card-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius);
    pointer-events: none;
}

.otro-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.overlay-text {
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.overlay-icon {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.otros-footer {
    text-align: center;
    padding: 3rem 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.otros-btn {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.otros-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.4);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.otros-btn:hover .btn-icon {
    transform: translateX(8px);
}

.otros-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.otros-note a {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.otros-note a:hover {
    color: var(--accent-red);
    border-bottom-color: var(--accent-orange);
}

/*contacto con recepcion*/

.whatsapp-link-custom {
    color: var(--brand-orange) !important;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.whatsapp-link-custom:hover {
    color: var(--brand-red) !important;
}








/* ==================================================================
   ANIMACIONES DE ENTRADA
   ================================================================== */

.otros-servicios-section {
    opacity: 0;
    transform: translateY(40px);
    animation: section-fade-in 1s ease forwards 0.5s;
}

@keyframes section-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

.otros-grid {
    opacity: 0;
    animation: grid-fade-in 0.8s ease forwards 0.8s;
}

@keyframes grid-fade-in {
    to { opacity: 1; }
}

.otro-card {
    opacity: 0;
    transform: translateY(30px);
}

.otros-grid .otro-card:nth-child(1) { animation: card-up 0.6s ease forwards 1s; }
.otros-grid .otro-card:nth-child(2) { animation: card-up 0.6s ease forwards 1.1s; }
.otros-grid .otro-card:nth-child(3) { animation: card-up 0.6s ease forwards 1.2s; }
.otros-grid .otro-card:nth-child(4) { animation: card-up 0.6s ease forwards 1.3s; }
.otros-grid .otro-card:nth-child(5) { animation: card-up 0.6s ease forwards 1.4s; }
.otros-grid .otro-card:nth-child(6) { animation: card-up 0.6s ease forwards 1.5s; }

@keyframes card-up {
    to { opacity: 1; transform: translateY(0); }
}

/* ==================================================================
   MODAL DE OTROS SERVICIOS (ACTUALIZADO CON LOGOS Y COLABORADORES)
   ================================================================== */

.service-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 90vh; /* Evitar que sea más alto que la pantalla */
    overflow-y: auto; /* Scroll si el contenido es muy largo */
}

.service-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-red);
}

/* Ocultar el antiguo contenedor de iconos si queda algún residuo */
.modal-icon {
    display: none !important;
}


/* ==================================================================
   CORRECCIÓN MODAL: CAJA DE LOGO ADAPTATIVA
   ================================================================== */

#modalLogo {
    width: 100%;
    /* CAMBIO 1: Quitamos altura fija. Usamos min/max para que se adapte */
    min-height: 60px; 
    max-height: 120px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    
    /* CAMBIO 2: Quitamos el fondo gris fuerte y el borde para limpiarlo */
    background: transparent; 
    border: none;
    padding: 10px 0; /* Solo padding vertical */
    box-sizing: border-box;
}

#modalLogo img {
    /* CAMBIO 3: El logo decide el tamaño, pero con límites */
    max-height: 100px; /* Altura máxima del logo */
    max-width: 80%;    /* Ancho máximo para que no toque los bordes */
    width: auto;       /* Mantiene proporción */
    height: auto;      /* Importante: deja que la altura sea automática */
    
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    display: block; /* Evita espacios extraños debajo */
}

#modalLogo img:hover {
    transform: scale(1.05);
}

/* Títulos y Textos */
#modalTitle {
    color: var(--accent-red);
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

#modalDesc {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Lista de características con Checks */
#modalFeatures {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    background: #fff;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

#modalFeatures::-webkit-scrollbar { width: 4px; }
#modalFeatures::-webkit-scrollbar-track { background: transparent; }
#modalFeatures::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
#modalFeatures::-webkit-scrollbar-thumb:hover { background: var(--accent-orange); }

#modalFeatures li {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
    transition: var(--transition-fast);
}

#modalFeatures li:last-child {
    border-bottom: none;
}

#modalFeatures li:hover {
    background: #fafafa;
    padding-left: 5px;
}

/* Icono Check Personalizado */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Nota de Colaborador */
.modal-partner-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    line-height: 1.4;
    font-style: italic;
}

.modal-partner-note strong {
    color: var(--accent-orange);
    font-weight: 700;
}

/* Botón del Modal */
.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.modal-btn:hover {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 80%);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.5);
    transform: translateY(-2px);
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */

@media (max-width: 1200px) {
    .otros-title { font-size: 2.2rem; }
    .otros-subtitle { font-size: 1rem; }
    .otros-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; }
    .otro-card { padding: 2.2rem 1.8rem; }
}

@media (max-width: 900px) {
    .service-box {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .services-container { 
        flex-direction: column; 
        gap: 2rem; 
    }
    .service-box {
        flex: 1 1 100%;
        min-height: auto;
    }
    .service-text h3 { font-size: 1.3rem; }
    
    .otros-services-wrapper {
        padding: 2rem 1rem;
        margin: 2rem auto;
        border-radius: 16px;
    }

    .otros-servicios-section { padding: 0; }
    .otros-header { padding: 0 1rem 2.5rem; }
    .otros-title { font-size: 2rem; }
    .otros-subtitle { font-size: 0.95rem; }
    .otros-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
    .otro-card { padding: 2rem 1.5rem; }
    .icon-wrapper { width: 55px; height: 55px; }
    .otros-btn { padding: 1rem 2rem; font-size: 0.95rem; }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .otros-title { font-size: 1.8rem; }
    .otros-grid { grid-template-columns: 1fr; }
    .otros-btn { width: 100%; max-width: 350px; }
}
