/* Variables de color específicas para servicio-detalle */
:root {
    --servicio-primary: #667eea;
    --servicio-secondary: #764ba2;
    --servicio-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --servicio-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --servicio-white: #ffffff;
    --servicio-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Reset específico para la vista de detalle de servicio */
.service-container * {
    box-sizing: border-box;
}

.service-container {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    line-height: 1.5;
    color: #4a5568;
    background-color: transparent;
}

.service-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* ========== HEADER SECTION ========== */
.service-header {
    background: linear-gradient(135deg, #9f31ce 0%, #764ba2 100%);
    border-radius: 1.5rem;
    padding: 0;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(157, 78, 209, 0.25);
    overflow: hidden;
    position: relative;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.header-actions {
    flex-shrink: 0;
}

.tutorial-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tutorial-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ========== INFORMACIÓN DEL PROCESO ========== */
.process-info-section {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.info-header {
    padding: 2rem 2rem 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.time-icon {
    background: linear-gradient(135deg, #b166ea 0%, #764ba2 100%);
}

.cost-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.inspection-icon {
    background: linear-gradient(135deg, #d24ffe 0%, #dc00fe 100%);
}

.info-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.info-content {
    padding: 0 2rem 2rem 2rem;
}

.info-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.cost-factors {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.cost-factors li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4a5568;
}

.cost-factors li::before {
    content: '•';
    color: #963bcf;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cost-note-text {
    background: linear-gradient(135deg, #fef3cd 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #92400e;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specific-details {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.specific-details h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
}

.detail-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 0.75rem;
    color: #4a5568;
    line-height: 1.6;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: #2d3748;
}

/* ========== DESCRIPCIÓN PRINCIPAL ========== */
.main-description {
    margin-bottom: 1rem;
}

.description-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.description-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-card h2 i {
    color: #667eea;
}

.description-content {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.legal-basis {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.legal-basis h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-basis h3 i {
    color: #667eea;
}

.legal-content {
    color: #4a5568;
    line-height: 1.6;
}

/* ========== DOCUMENTOS REQUERIDOS PRINCIPAL ========== */
.main-requirements-section {
    margin-bottom: 3rem;
}

/* ========== EARLY CALL TO ACTION BANNER ========== */
.service-container .main-requirements-section .early-cta-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 1.5rem !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    color: white !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

.early-cta-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 1.5rem !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    color: white !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

.early-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.cta-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.cta-action {
    flex-shrink: 0;
}

.cta-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-progress-indicator {
    position: relative;
    z-index: 1;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.step.active .step-number {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
}

.step.active .step-label {
    color: white;
    font-weight: 600;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-label {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

.step-arrow {
    font-size: 1.5rem;
    opacity: 0.7;
    font-weight: bold;
}

.requirements-header {
    text-align: center;
    margin-bottom: 3rem;
}

.requirements-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.requirements-header h2 i {
    color: #667eea;
}

.requirements-intro {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Info tooltip styles */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

.info-tooltip [title] {
    cursor: help;
}

/* Tooltip personalizado */
.info-tooltip:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    max-width: 300px;
    white-space: normal;
    width: max-content;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.info-tooltip:hover::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d3748;
    z-index: 1000;
}

/* Conditional prefix styles */
.conditional-prefix {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.service-container .main-requirements-section .requirements-comparison {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.requirements-comparison {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.service-container .requirements-comparison .requirement-column {
    background: white !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    display: block !important;
}

.requirement-column {
    background: white !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    display: block !important;
}

.escritura-column {
    border-top: 4px solid #10b981;
}

.sin-escritura-column {
    border-top: 4px solid #f59e0b;
}

.column-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.column-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.escritura-column .column-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sin-escritura-column .column-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.column-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.75rem 0;
}

.column-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ========== CLEAN REQUIREMENTS LIST ========== */
.requirements-list-clean {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirement-item-clean {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    border-radius: 0;
}

.requirement-item-clean:hover {
    background: rgba(102, 126, 234, 0.02);
    border-left-color: rgba(102, 126, 234, 0.2);
}

.requirement-marker {
    display: flex;
    align-items: flex-start;
    padding-top: 0.125rem;
    flex-shrink: 0;
}

.required-icon {
    color: #dc2626;
    font-size: 0.875rem;
}

.conditional-icon {
    color: #f59e0b;
    font-size: 0.875rem;
}

.requirement-content-clean {
    flex: 1;
    min-width: 0;
}

.requirement-name-clean {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.requirement-badge {
    flex-shrink: 0;
}

.badge-required {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-conditional {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.requirement-description-clean {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Legacy styles for old requirement items (keep for compatibility) */
.requirements-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.requirement-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f8faff 0%, #f1f5fb 100%);
}

.requirement-item.active {
    border-color: rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

.requirement-item.active .requirement-name {
    color: #2d3748;
}

.requirement-item.active .requirement-description {
    color: #64748b;
}

.requirement-item.active .status-badge.required {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.requirement-item.active .status-badge.optional {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.requirement-number {
    width: 2rem;
    height: 2rem;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.requirement-item.active .requirement-number {
    background: #667eea;
    color: white;
}

.requirement-content {
    flex: 1;
}

.requirement-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.requirement-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.requirement-status {
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.required {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-badge.optional {
    background: rgba(59, 130, 246, 0.1);
    color: #b625eb;
}

.status-badge.conditional {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.no-requirements {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.no-requirements i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.no-requirements h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.no-requirements p {
    margin: 0;
    font-size: 1rem;
}

.requirements-footer {
    margin-top: 2rem;
}

.important-note {
    background: linear-gradient(135deg, #fef3cd 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-icon {
    width: 3rem;
    height: 3rem;
    background: #f59e0b;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.5rem 0;
}

.note-content p {
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

/* ========== INFORMACIÓN ESPECÍFICA ========== */
.specific-service-info {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.specific-service-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specific-service-info h2 i {
    color: #667eea;
}

.specific-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-card-detailed {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-card-detailed:hover {
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.info-card-detailed h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card-detailed h3 i {
    color: #667eea;
}

.info-card-detailed .info-content {
    color: #4a5568;
    line-height: 1.6;
}

.info-card-detailed .info-content p {
    margin: 0 0 1rem 0;
}

.info-card-detailed .info-content p:last-child {
    margin-bottom: 0;
}

/* ========== DESCARGA ========== */
.download-section {
    margin-bottom: 3rem;
}

.download-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.download-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-content {
    flex: 1;
}

.download-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.75rem 0;
}

.download-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.download-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.download-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

/* ========== ACTION SECTION ========== */
.action-section {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 3rem;
    margin-bottom: 2rem;
}

.action-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pre-start-checklist {
    margin-bottom: 3rem;
}

.pre-start-checklist h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.checklist-item {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checklist-item:hover {
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.checklist-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #a839e9 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.checklist-content {
    flex: 1;
}

.checklist-content h5 {
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.checklist-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.action-btn.start-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 16px rgba(240, 147, 251, 0.3);
}

.action-btn.start-btn:hover {
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.4);
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn span {
    font-size: 1.1rem;
}

.action-btn small {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 400;
}

.recommendation-note {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.note-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.note-content {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ========== TOOLTIP ========== */
.requirement-tooltip {
    position: fixed;
    max-width: 300px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 1.25rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    border: 1px solid #e2e8f0;
}

.requirement-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.tooltip-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.tooltip-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== RESPONSIVE DESIGN - OPTIMIZADO PARA MÓVIL ========== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specific-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ========== MÓVIL - EXPERIENCIA OPTIMIZADA ========== */
@media (max-width: 768px) {
    /* Container sin márgenes laterales */
    .service-container {
        padding: 0 0.75rem;
        margin: 0 auto;
    }

    /* Header compacto */
    .service-header {
        border-radius: 0;
        margin-bottom: 1rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        width: calc(100% + 1.5rem);
    }

    .header-content {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.25rem;
        align-items: center;
    }

    .header-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        border-radius: 0.75rem;
    }

    .header-text {
        text-align: left;
    }

    .service-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .service-subtitle {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Descripción compacta */
    .main-description {
        margin-bottom: 1rem;
    }

    .description-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .description-card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }

    .description-card h2 i {
        font-size: 1rem;
    }

    .description-content {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .legal-basis {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.75rem;
    }

    .legal-basis h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .legal-content {
        font-size: 0.85rem;
    }

    /* Detalles del proceso - ACORDEÓN EN MÓVIL */
    .process-info-section {
        margin-bottom: 1rem;
    }

    .info-grid-item.unified-info {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .grid-icon.unified-icon {
        display: none; /* Ocultar icono en móvil para ahorrar espacio */
    }

    .grid-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .unified-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Detalles como lista compacta */
    .detail-section {
        padding: 0.75rem;
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
        min-height: auto;
        border-radius: 0.5rem;
        align-items: flex-start;
    }

    .detail-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .detail-content {
        text-align: left;
        gap: 0.25rem;
    }

    .detail-content strong {
        font-size: 0.85rem;
    }

    .detail-content span {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* REQUISITOS - DISEÑO COMPACTO MÓVIL */
    .main-requirements-section {
        margin-bottom: 1rem;
    }

    .requirements-header {
        text-align: center;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .requirements-header h2 {
        font-size: 1.15rem;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .requirements-intro {
        font-size: 0.85rem;
    }

    .requirements-intro p {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Columnas de requisitos - TABS ESTILO EN MÓVIL */
    .requirements-comparison {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .requirement-column {
        border-radius: 1rem !important;
    }

    .column-header {
        padding: 1rem;
        text-align: center;
    }

    .column-header h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .column-header p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .requirements-list-clean {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .requirement-item-clean {
        padding: 0.75rem;
        gap: 0.5rem;
        border-left-width: 2px;
    }

    .requirement-marker {
        padding-top: 0;
    }

    .required-icon,
    .conditional-icon {
        font-size: 0.75rem;
    }

    .requirement-name-clean {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .requirement-badge {
        align-self: flex-start;
    }

    .badge-required,
    .badge-conditional {
        font-size: 0.65rem;
        padding: 0.1rem 0.4rem;
    }

    .requirement-description-clean {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Sección de acción - BOTÓN PROMINENTE */
    .action-section {
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .action-container {
        text-align: center;
    }

    .pre-start-checklist {
        margin-bottom: 1.5rem;
    }

    .pre-start-checklist h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .checklist-item {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .checklist-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
        align-self: center;
    }

    .checklist-content h5 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .checklist-content p {
        font-size: 0.7rem;
    }

    /* Botón de acción principal - PROMINENTE */
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .action-btn {
        width: 100%;
        max-width: none;
        padding: 1.25rem 1rem;
        border-radius: 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .action-btn i {
        font-size: 1.25rem;
    }

    .action-btn span {
        font-size: 1rem;
    }

    .action-btn small {
        display: none; /* Ocultar subtítulo en móvil */
    }

    .action-btn.start-btn {
        /* Botón de iniciar más prominente */
        padding: 1.5rem 1rem;
        font-size: 1.1rem;
    }

    /* Notas e info */
    .recommendation-note,
    .important-note {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
        padding: 1rem;
    }

    .note-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    .note-content {
        font-size: 0.85rem;
    }

    /* Tooltips móvil */
    .requirement-tooltip {
        max-width: calc(100% - 1.5rem);
        left: 0.75rem !important;
        right: 0.75rem !important;
    }

    /* Ocultar elementos no esenciales en móvil */
    .header-actions {
        display: none;
    }

    .specific-service-info {
        display: none; /* Ocultar info duplicada */
    }

    .download-section {
        margin-bottom: 1rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .download-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    .download-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .download-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .download-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========== MÓVIL PEQUEÑO - ULTRA COMPACTO ========== */
@media (max-width: 480px) {
    .service-container {
        padding: 0 0.5rem;
    }

    .service-header {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        width: calc(100% + 1rem);
    }

    .header-content {
        padding: 1rem;
        gap: 0.75rem;
    }

    .header-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-subtitle {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    }

    .description-card {
        padding: 1rem;
    }

    .description-card h2 {
        font-size: 1rem;
    }

    .description-content {
        font-size: 0.85rem;
    }

    .requirements-header h2 {
        font-size: 1.05rem;
    }

    .column-header h3 {
        font-size: 0.95rem;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .checklist-item {
        flex-direction: row;
        text-align: left;
    }

    .action-btn.start-btn {
        padding: 1.25rem 1rem;
    }
}

/* ========== TOUCH FRIENDLY ========== */
@media (pointer: coarse) {
    .action-btn,
    .download-btn,
    .tutorial-btn,
    .cta-btn {
        min-height: 48px;
    }

    .requirement-item-clean {
        min-height: 44px;
    }

    .detail-section {
        min-height: 44px;
    }
}

/* ========== GRID ÚNICO PARA INFORMACIÓN DEL PROCESO ========== */
.process-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 2rem 0;
}

.info-grid-item.unified-info {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.info-grid-item.unified-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.grid-icon.unified-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.grid-content {
    flex: 1;
}

.grid-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 2rem 0;
}

.unified-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.detail-section {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    min-height: 80px;
}

.detail-section:hover {
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.detail-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: white;
    flex-shrink: 0;
}

.detail-section:nth-child(1) .detail-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.detail-section:nth-child(2) .detail-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.detail-section:nth-child(3) .detail-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.detail-section:nth-child(4) .detail-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.detail-section:nth-child(5) .detail-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.detail-section:nth-child(6) .detail-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.detail-section:nth-child(7) .detail-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-content strong {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    line-height: 1.3;
}

.detail-content span {
    color: #4a5568;
    line-height: 1.4;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .process-info-grid {
        margin: 1.5rem 0;
    }
    
    .info-grid-item.unified-info {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .grid-icon.unified-icon {
        align-self: center;
    }
    
    .unified-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-section {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .detail-icon {
        align-self: center;
    }
    
    .detail-content {
        text-align: center;
    }
    
    .detail-content strong {
        font-size: 0.95rem;
    }
    
.detail-content span {
    color: #6c757d;
    line-height: 1.5;
}

.detail-download {
    margin-top: 8px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.download-link:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    color: white !important;
    text-decoration: none !important;
}

.download-link i {
    font-size: 1rem;
}

/* Breakpoint adicional para tablets pequeñas */
@media (max-width: 600px) {
    .unified-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .info-grid-item.unified-info {
        padding: 1.5rem;
    }
    
    .grid-content h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .unified-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .detail-section {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .detail-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }
    
    .detail-content strong {
        font-size: 0.9rem;
    }
    
    .detail-content span {
        font-size: 0.85rem;
    }
}

}
